Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity 6_Question-4

Public visualization

Viewing a saved revision (read-only)

920a521e579648ceb7a414c4ce4edea3

Activity 6_Question-4

0 stars0🌍 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.