Skip to main content
100%

Multi-Line Chart

✓ Published0🌍 Public
LLily Gaffney
Last edited Oct 14, 2022
Created on Oct 14, 2022
Forked from D3 Starter

This example shows a multi-line chart using D3 version 7, plotting sales data across years. The visualization is rendered as an SVG within an HTML container, with axes and lines drawn from a hardcoded array of sale and year values. The code uses `d3.select` to target the SVG element and sets fixed width, height, and margin dimensions. While the current script only writes "Hello D3 version 7" to the body, the accompanying markup and data structures indicate a simple line chart with no external data source, relying entirely on inline sample data.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes