Skip to main content
100%

Activity6_Question4

✓ Published0🌍 Public
Ggroup118sai@gmail.com
Last edited Oct 21, 2024
Created on Oct 21, 2024
Forked from HTML Starter

This bubble chart visualizes regional product sales against profit, with each bubble’s size, x-position, and y-position mapping to sales volume and profit respectively. The visualization uses D3.js v7’s `scaleSqrt` for bubble radius, `scaleLinear` for axes, and `scaleOrdinal` with `schemeCategory10` for color coding. The chart renders as an SVG element, loading data from a local `data.csv` file. Labels identify each region, while axis formatting appends “Sales” and “Profit” to tick values, and the `axisBottom` and `axisLeft` APIs generate the chart’s axes.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes