Skip to main content
100%

data canvas sense your city

✓ Published2🌍 Public
GGuitong Li
Last edited Feb 5, 2022
Created on Feb 5, 2022
Forked from iris scatter plot

This visualization displays temperature trends over a week in San Francisco using a line chart rendered with SVG. The React app loads CSV data via D3's `csv` parser, then uses `scaleTime` and `scaleLinear` to map timestamps to x-coordinates and temperatures to y-coordinates. The line path is generated with D3's `line` and `curveNatural`, while custom `AxisBottom` and `AxisLeft` components render ticks and gridlines. Circles with tooltips mark individual data points. The chart demonstrates integrating D3 scales, axes, and shapes within a React component structure.

AI-generated description

This bar chart shows population of the top 10 most populous countries. The data comes from the year 2018 estimate in United Nations: World Population Prospects 2017. It also demonstrates customization of D3 axes.

See also the first bar chart visualization that this one builds on: Making a Bar Chart.

MIT Licensed

Similar vizzes