Skip to main content
๐ŸŒ Public

Share visualization

Send this visualization to others.

Fork of Line chart For Car Sales

Public visualization

Fork of Line chart For Car Sales

0 stars0๐ŸŒ Public
GGARIDIDEEKSHITHREDDY
Last edited Mar 29, 2022
Created on Mar 29, 2022

This example shows the evolution of car sales from 2013 to 2021 as a red line chart, with a time-scaled x-axis for years and a linear y-axis for sales figures. It uses d3.csv to load external data, d3.scaleTime and d3.scaleLinear for axes, and d3.line to generate the path. The SVG rendering includes grid lines and rotated axis labels, with data parsed via d3.timeParse.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed