Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

line chart

Public visualization

line chart

0 stars0🌍 Public
SSwapna1915
Last edited Jul 26, 2023
Created on Jul 26, 2023

This line chart shows total mobile brand sales over time from 2013 to 2021, using a red stroke to trace the trend across dated points. The visualization loads CSV data from a GitHub gist, parses dates with `d3.timeParse`, and applies `d3.scaleTime` and `d3.scaleLinear` for the axes. It uses `d3.axisBottom` and `d3.axisLeft` with gridlines, and renders the line via `d3.line` into an SVG. The axes include rotated labels, and the chart is styled with custom CSS for tick colors and fonts.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed