🌍 Public
Viewing a saved revision (read-only)
181f0b00bdd54104b3a8372df61fc81e
Activity-6 task-4 question-4.9
This bubble chart visualizes transaction data across eight spending categories, plotting average transaction amount on the x-axis, transaction count on the y-axis, and total spending as bubble radius. Each category is color-coded using `d3.scaleOrdinal` with `d3.schemeSet2`. The visualization uses D3 v7 to load CSV data, render SVG circles, and provide interactive tooltips on mouseover. Axes are created with `d3.axisBottom` and `d3.axisLeft`, while `d3.scaleSqrt` maps total amounts to proportional bubble sizes for easy comparison of spending patterns.
AI-generated description