O'Reilly logo

Visual Storytelling with D3: An Introduction to Data Visualization in JavaScript™ by Ritchie S. King

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

A. JavaScript for Beginners

This JavaScript primer is designed for people who have little or no experience with JavaScript. It covers everything you need to know to get up and running with D3.

JavaScript In Brief

JavaScript is a native of the web. It’s a programming language that was created to run in web browsers so that web pages could respond to input from users. JavaScript can take most of the credit for making websites interactive.

Remember that when you go to a website, all that is really happening is that your browser is opening up an HTML file (unless the website is in a different format, like PHP). So if a website involves JavaScript, the HTML file has to tell the browser somehow. It does this in one of two ways:

• The HTML file can ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required