Skip to main content
100%

Question 4 Lokesh

✓ Published1🌍 Public
Rrayavarapulokesh3@gmail.com
Last edited Oct 22, 2024
Created on Oct 20, 2024
Forked from Activity6_Task4

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 description

We are Displaying the bubble chart using fruits.csv

MIT Licensed

Similar vizzes