Skip to main content
๐ŸŒ Public

Share visualization

Send this visualization to others.

D3 Scatter Plot

Public visualization

D3 Scatter Plot

0 stars1๐ŸŒ 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

Comments

Sign in to join the discussion.

MIT Licensed