Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

ICE 7 Line Chart

Public visualization

Viewing a saved revision (read-only)

fb7412718e8344a2b583c4be8cfc1568

ICE 7 Line Chart

0 stars0🌍 Public
SSharmilaChowdhari
Last edited Mar 27, 2022
Created on Mar 27, 2022
Forked from Line Chart

This line chart visualizes the Goods and Service Tax (GST) of a country across different years, using red axis labels and a thick black line to emphasize the trend. The code relies on D3 v5, specifically importing functions like `scaleTime`, `scaleLinear`, `axisLeft`, `axisBottom`, and `line` to construct the chart. Data is loaded from a CSV file hosted on GitHub, with years parsed using `d3.timeParse`. The SVG rendering applies green grid lines and blue tick text via CSS, while positional margins and axis tick formatting are handled through D3's layout utilities.

AI-generated description