Skip to main content
100%

ICE7 Task3 Line Chart

✓ Published0🌍 Public
Ddineshtadepalli12
Last edited Mar 29, 2022
Created on Mar 29, 2022
Forked from ICE-7 Line chart

This example shows the annual GDP of a country in billions of dollars over time, with the x-axis mapping years and the y-axis mapping GDP values. The visualization uses a line chart rendered as an SVG, where the data is loaded from a CSV file hosted in a GitHub Gist. The code builds scales with `d3.scaleTime` and `d3.scaleLinear`, generates axes using `d3.axisBottom` and `d3.axisLeft`, and draws the line with `d3.line`. The chart includes axis labels, gridlines via tick sizes, and a blue stroke for the line path.

AI-generated description
MIT Licensed

Similar vizzes