Skip to main content
100%

Fork of D3.js Line Chart

✓ Published0🌍 Public
Rrajamrit-singh
Last edited Mar 31, 2023
Created on Mar 31, 2023
Forked from D3.js Line Chart

This line chart visualizes the customer count per year from a small CSV dataset, using a steelblue stroke to emphasize the trend over time. Built with D3.js v7, the SVG rendering applies a band scale for the x-axis and a linear scale for the y-axis, with axis labels and styled paths. The code loads data via `d3.csv`, constructs the chart with `d3.scaleBand`, `d3.scaleLinear`, `d3.axisBottom`, `d3.axisLeft`, and `d3.line`, and includes custom CSS for the chart’s appearance.

AI-generated description

A reusable scatter plot inspired by Towards Reusable Charts.

Shows the Iris Dataset.

MIT Licensed

Similar vizzes