Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Line Chart

Public visualization

Viewing a saved revision (read-only)

fab02c4346004b499af4859145dc805a

Fork of Line Chart

0 stars2🌍 Public
TTharun2022
Last edited Mar 27, 2022
Created on Mar 27, 2022
Forked from HTML Starter

This example visualizes annual sales data as a red line chart, with a time-scaled x-axis for years and a linear y-axis for sales values. It uses D3 v5’s `scaleTime`, `scaleLinear`, `axisBottom`, `axisLeft`, and `line` generators to render an SVG inside a React project, reading CSV data from a GitHub gist. The chart includes labeled axes, gridlines via tick sizing, and a rotated y-axis label, with styling defined in an external CSS file.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.