Skip to main content
100%

Fork of Fork of HTML Starter

✓ Published0🌍 Public
Kkruthanreddy812@gmail.com
Last edited Mar 28, 2026
Created on Mar 28, 2026

This visualization displays the average quantity of laptops sold at each price point, using a monotone smoothing spline to connect aggregated data points. The chart is built with D3.js v7, loading CSV data from a GitHub Gist and using `d3.rollups` to group records by cost and calculate the mean quantity sold. The line is rendered as an SVG path with `d3.line` and `d3.curveMonotoneX`, with red circles marking each aggregated value and axes provided by `d3.axisBottom` and `d3.axisLeft`.

AI-generated description
MIT Licensed

Similar vizzes