Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Fork of Line Chart

Public visualization

Viewing a saved revision (read-only)

dd5d39968ffd4a4082ada9f17156bc55

Fork of Fork of Line Chart

0 stars0🌍 Public
RRahulSai05
Last edited Mar 29, 2022
Created on Mar 29, 2022

This example shows the annual sales of automobiles from 2003 to 2018 as a single blue line, with red tick labels and a pink y-axis label on a black background. The chart uses d3.scaleTime and d3.scaleLinear to map data, d3.axisBottom and d3.axisLeft for gridlines, and d3.line to generate the path. Data is loaded asynchronously from a GitHub-hosted CSV file using d3.csv, and the visualization is rendered as SVG.

AI-generated description