Skip to main content
100%

question 4

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

This example visualizes the correlation between iris flower measurements using a bubble chart, plotting sepal length against sepal width while encoding petal length through bubble size and species through color. It loads data from a CSV file and renders with D3 v7, using `d3.scaleLinear` for axes and bubble radius, `d3.scaleOrdinal` with custom colors for species, and `d3.axisBottom`/`d3.axisLeft` for scales. Interactive tooltips appear on mouseover via D3 event handlers, displaying species and petal length, alongside a legend for species identification.

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