Skip to main content
100%

D3 Scatter Plot

✓ Published1🌍 Public
Mmariahdiaz
Last edited Oct 7, 2022
Created on Sep 20, 2022
Forked from D3 Bar Chart

This scatter plot displays U.S. natural gas consumption by the electric power sector in billion BTU per year from 2000 to 2010. The code loads data from a CSV file and renders it as an SVG using D3 v7. It uses `d3.scaleLinear` for the x-axis, `d3.scalePoint` for the y-axis, and `d3.axisLeft` and `d3.axisBottom` for tick marks. Circles are appended to represent each data point, with axis labels and a title included.

AI-generated description
MIT Licensed

Similar vizzes