Skip to main content
100%

Activity 6_Question-4

✓ Published0🌍 Public
Rrajkodavati7@gmail.com
Last edited Apr 15, 2024
Created on Apr 15, 2024
Forked from Hello VizHub

This example demonstrates a bubble chart that visualizes the relationship between the sweetness, sourness, and size of various fruits. The chart encodes sweetness on the x-axis, sourness on the y-axis, and size as the radius of each circle, with colors distinguishing fruit types. The data is loaded from a local CSV file, and the visualization is built using D3 v7 with SVG rendering. The code employs D3 scales for positioning and sizing, along with axis generators and a custom legend.

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.
MIT Licensed

Similar vizzes