Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Fork of line chart section 3

Public visualization

Viewing a saved revision (read-only)

4a8343e761cf4cdd91adfc3ad977abc3

Fork of Fork of line chart section 3

0 stars0🌍 Public
VVenkata Rajashekar Reddy Chinthala
Last edited Mar 27, 2022
Created on Mar 27, 2022

This visualization displays perfume sales totals from 2015 to 2021 as a red line chart, with years on the x-axis and total sales on the y-axis. The SVG rendering uses d3.scaleTime and d3.scaleLinear to map data, while d3.axisBottom and d3.axisLeft create labeled axes with grid ticks. The line path is generated via d3.line, and the dataset is loaded asynchronously with d3.csv from a GitHub gist. The React framework structures the page, with d3.v5 handling all chart logic and styling applied through external CSS.

AI-generated description

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

See also React Starter.