Question 4 Lokesh
✓ Published1🌍 Public
This bubble chart visualizes the correlation between quantity sold, price per unit, and revenue for a dataset of 20 fruits. Each circle’s position encodes quantity sold (x-axis) and price per unit (y-axis), while its size and color represent revenue and fruit type, respectively. Built with D3 v7, the visualization uses `d3.scaleLinear` for axes and bubble size, `d3.scaleOrdinal` with `d3.interpolateTurbo` for colors, and includes interactive tooltips on mouseover. A legend communicates revenue scaling, and the data is loaded from a CSV file via `d3.csv`.
AI-generated descriptionWe are Displaying the bubble chart using fruits.csv
MIT Licensed