Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

ICE 7 Line Chart 11590101

Public visualization

Viewing a saved revision (read-only)

30d9a9530842446cb84f6f8aeac1aac6

ICE 7 Line Chart 11590101

0 stars1🌍 Public
DDivyasri0310
Last edited Mar 12, 2023
Created on Mar 12, 2023

This example visualizes rice production in the US from 1991 to 2021 using a line chart rendered in SVG. The chart plots production volume in tonnes against parsed year values, with axes, gridlines, and labels styled via CSS. It loads CSV data from a GitHub gist and uses D3 v5 APIs including `csv`, `scaleTime`, `scaleLinear`, `line`, `axisBottom`, `axisLeft`, and `extent` to generate the visualization. The line path is drawn in purple with a stroke width of four pixels.

AI-generated description

A demonstration of how to start using D3 version 6.