All examples By author By category About

zollillo

Bar Chart with Scales and Axes

This code example is the result of the Module 4'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 horizontal bar chart with scales and axes. The bar chart represents seismic events, the magnitude of which is mapped to the width of each rectangle.