Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of D3.js Line Chart

Public visualization

Viewing a saved revision (read-only)

abcee1bdf6ad47569d6bda15533b0dd6

Fork of D3.js Line Chart

0 stars1🌍 Public
NNikitha123171
Last edited Mar 26, 2023
Created on Mar 26, 2023
Forked from D3.js Line Chart

This visualization displays customer counts per year from a small CSV dataset using a line chart. The D3.js v7 code loads the data with `d3.csv`, then applies a `scaleBand` for the x-axis and `scaleLinear` for the y-axis. The line is drawn with the `d3.line` path generator, using an SVG rendering approach within a designated chart container. The chart includes labeled axes for "Year" and "customers", with styling applied through a separate CSS file.

AI-generated description

A reusable scatter plot inspired by Towards Reusable Charts.

Shows the Iris Dataset.