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.
Modified http://d3js.org/d3.v3.js to a secure url
https://d3js.org/d3.v3.js