All examples By author By category About

zollillo

Basic Scatter Chart

This code example is the result of the Module 5's exercise from the course “Data Visualization and Infographics with D3,” taught by Alberto Cairo and Scott Murray, and offered through the Knight Center for Journalism in the Americas at UT Austin.
It is a simple scatter chart that plots two values of the underlying dataset (here: depth and magnitude of earthquakes) against each other.