Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Line chart For Car Sales

Public visualization

Viewing a saved revision (read-only)

be6eaf1f78384110814ad9fc0711eb04

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