Skip to main content
Public

Share visualization

Loading preview…

Fork of D3.js Line Chart

vizhub.com

Shared links may look like this on X, LinkedIn, Slack, and Discord.

Before sharing, review the publishing checklist.

Choose how to deliver this visualization

LinkedIn caption

LinkedIn may not keep text supplied by the share sheet. Copy the caption and paste it into the post if needed. You can tag the VizHub company page when posting.

More options

Embed on a websiteCopy iframe embed code
Download & exportPNG, HTML, source ZIP

Fork of D3.js Line Chart

1
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.

Comments

Sign in to join the discussion.

MIT Licensed