Skip to main content
100%

Line Chart ICE 7

✓ Published0🌍 Public
Ddiwashhumagain@my.unt.edu
Last edited Oct 25, 2025
Created on Oct 25, 2025
Forked from Area Chart ICE 7

A line chart depicts the Consumer Price Index (CPI) trend over time, plotting annual values from a CSV dataset. D3.js scales map years to the x-axis and CPI values to the y-axis, with a `d3.line()` generator constructing the path. The SVG rendering includes axes via `d3.axisBottom` and `d3.axisLeft`, with rotated axis labels. Data loading uses `d3.csv` with row parsing to convert strings to numbers, while the chart fills the viewport and applies the Share Tech font.

AI-generated description
MIT Licensed

Similar vizzes