Skip to Content
Hands-On Data Visualization
book

Hands-On Data Visualization

by Jack Dougherty, Ilya Ilyankou
April 2021
Beginner to intermediate
471 pages
13h 16m
English
O'Reilly Media, Inc.
Book available
Content preview from Hands-On Data Visualization

Chapter 9. Embed on the Web

So far you’ve learned how to create charts in Chapter 6, maps in Chapter 7, and tables in Chapter 8. Our book emphasizes the benefits of designing interactive visualizations that engage broad audiences on the internet by inviting them to interact with your data, investigate new patterns, download files if desired, and easily share your work on social media. In this chapter, you’ll learn about a computer code tag called an iframe, which allows readers to actively explore your data on a different page. Like a picture frame, an iframe displays a live web page (such as your interactive data visualization) inside a second web page that you control (such as your personal or organizational website), as shown in Figure 9-1. When done correctly, the iframe makes your data visualization appear seamlessly on your web page, so that audiences can explore the content without needing to know that it’s coming from a different host.

Several of the visualization tools you’ve learned so far, such as Google Sheets, Datawrapper, and Tableau Public, generate an embed code that contains an iframe to the online chart or map you’ve created on their platform. We’ll demonstrate how to get the embed code or link from your visualization tool site and paste the code into a second website to seamlessly display your interactive content (see “Get the Embed Code or iframe Tag” and “Paste Code or iframe to a Website”). No coding skills are required in this introductory book, but it certainly ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Fundamentals of Data Visualization

Fundamentals of Data Visualization

Claus O. Wilke
Hands-On Exploratory Data Analysis with Python

Hands-On Exploratory Data Analysis with Python

Suresh Kumar Mukhiya, Usman Ahmed

Publisher Resources

ISBN: 9781492085997Errata Page