Line Chart
✓ Published0🌍 Public
This line chart visualizes yearly rainfall data from 2000 to 2004, with the line smoothly interpolated through the data points. The chart displays the title "Yearly rainfall," labeled axes for "Year" and "Rainfall," and gridlines for readability. Using D3 v5, the code employs `select`, `csv`, `scaleLinear`, `extent`, `axisBottom`, `axisLeft`, and `line` with `curveBasis` to render the SVG. The data comes from a local CSV file, and styling is applied via external CSS.
AI-generated descriptionThis line chart shows one week of temperature (in degrees Celcius) in San Francisco. The data comes from Data Canvas - Sense Your City.
Made in this video:
MIT Licensed