Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

question-4

Public visualization

question-4

0 stars0🌍 Public
Aajaykumarakula00@gmail.com
Last edited Apr 14, 2024
Created on Apr 14, 2024

A bubble chart compares beverage manufacturers, plotting glucose levels along the x-axis against ratings on the y-axis. Each bubble’s radius represents calorie content, while its color identifies the manufacturer brand. The chart includes interactive tooltips on mouseover and a legend for both bubble size and color categories. Built with D3 v7, it uses `d3.scaleLinear`, `d3.scaleOrdinal`, and `d3.axisBottom` to render the SVG elements; the data is loaded from a CSV file and animated through hover transitions.

AI-generated description

An example showing the capabilities of VizHub:

  • Loads D3 via UNPKG.
  • Demonstrates use of import from "d3".
  • Demonstrates use of import from local ES6 modules.

Comments

Sign in to join the discussion.

MIT Licensed