Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

ice

Public visualization

ice

0 stars0🌍 Public
AAparna Desi Reddy
Last edited Mar 6, 2026
Created on Mar 6, 2026
Forked from HTML Starter

This combined chart displays e-commerce metrics across 150 days, with steelblue bars representing daily order counts on the left axis and a smooth red line tracking revenue in USD on the right axis. The visualization uses D3 v7’s `scaleBand` for the x-axis, dual `scaleLinear` axes, `axisLeft`, `axisRight`, and a Catmull-Rom curve via `d3.curveCatmullRom` for the revenue line. Data is loaded from a CSV using `d3.text` and `d3.csvParse`, which processes the raw text into a structured dataset for rendering as an SVG.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed