Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

combined chart

Public visualization

combined chart

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

This combined chart displays the relationship between daily orders placed and revenue in US dollars for an e-commerce website, using the first 40 days of a CSV dataset. Steel-blue bars represent order counts on the left y-axis, while a red Catmull-Rom smoothed line shows revenue on the right y-axis. Built with D3 v7, the visualization uses `d3.scaleBand`, `d3.scaleLinear`, `d3.axisLeft`, `d3.axisRight`, and `d3.line` to render the SVG elements, complete with gridlines, labels, and a legend. Data is fetched and parsed via `d3.text` and `d3.csvParse`.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed