Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

ICE-7: Line Chart

Public visualization

ICE-7: Line Chart

0 stars0🌍 Public
CChaitanya Galla
Last edited Mar 25, 2022
Created on Mar 25, 2022

This line chart displays CO2 emissions over the years, using a smooth curve to connect data points from a CSV dataset. The visualization uses D3 v5's `scaleLinear`, `axisBottom`, `axisLeft`, and `line` with `curveBasis` to render the chart as an SVG. A maroon line path and styled axis labels with gridlines are included. The code loads data via `csv` from a gist, formats numeric fields, and appends axes, labels, and a title within a group element.

AI-generated description

This 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:

Comments

Sign in to join the discussion.

MIT Licensed