🌍 Public
Viewing a saved revision (read-only)
664dd97d83104d6d93d00b6f86cbfaae
Fork of Circles with D3
This example visualizes projected cloud infrastructure service revenue for seven major providers across 2023, 2025, and 2030, using monotone-curved line paths to compare trends. The chart renders as an SVG line chart with colored circles at each data point, labeled with dollar values in billions. The code uses D3 v7’s `select`, `scalePoint`, `scaleLinear`, `axisBottom`, `axisLeft`, `line`, and `curveMonotoneX` APIs within a fixed container that fills the viewport. Data is embedded directly in the script, with dashed strokes distinguishing projected years from the solid 2023 baseline.
AI-generated description