Skip to main content
๐ŸŒ Public

Share visualization

Send this visualization to others.

Fork of Vinay Question 4

Public visualization

Fork of Vinay Question 4

0 stars0๐ŸŒ Public
VVinay Kumar Parvathini
Last edited Mar 27, 2026
Created on Mar 27, 2026

This example displays monthly sales data as a light-blue area chart with an overlaid blue line. It uses D3 v7 to construct a point scale for the months and a linear scale for sales values, then applies the `d3.area` and `d3.line` generators to create the paths. The React starter HTML page renders the visualization as SVG, with axes added via `d3.axisBottom` and `d3.axisLeft`, and text labels for both dimensions. The hardcoded dataset spans January through August with sales increasing from 200 to 750.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed