Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

charts

Public visualization

Viewing a saved revision (read-only)

15312039e46e4dc1830e281a8e4972ab

charts

0 stars0🌍 Public
MManeesh Kumar
Last edited Oct 20, 2025
Created on Oct 20, 2025
Forked from D3 Starter

This example visualizes monthly sales trends from a CSV data source, comparing three product lines from 2019 to 2023. It shows a multi-series line chart with time-scale axes, using D3 v7 and SVG rendering. The code loads data with `d3.csv`, maps dates via `d3.timeParse`, and draws lines with `d3.line`, alongside a legend and axis labels. The second part combines a bar chart for total sales with an overlaid line for average price, using a dual y-axis scale.

AI-generated description