Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

line chart

Public visualization

Viewing a saved revision (read-only)

bc3a0a1d6ccf4a6b944a50f4cc9d4b71

line chart

0 stars0🌍 Public
RRakshithaRao27
Last edited Mar 28, 2022
Created on Mar 28, 2022
Forked from rakshitha

This example shows cosmetics sales totals over a series of years, with a red line tracing the trend across a time-based x-axis and a linear y-axis. The visualization uses D3 v5 with an SVG rendering approach, employing `scaleTime` and `scaleLinear` to map data, `axisBottom` and `axisLeft` for gridlines, and the `line` generator to create the path. Data is loaded as CSV from a GitHub gist, with dates parsed using `d3.timeParse`.

AI-generated description