Skip to main content
100%

srinivas que4

✓ Published0🌍 Public
SSrinivasAbburi@my.unt.edu
Last edited Apr 15, 2024
Created on Apr 15, 2024

This bubble chart visualizes the correlation between sepal length, sepal width, and petal length in the Iris dataset. Each circle's x-position represents sepal length, y-position represents sepal width, and its size (radius) encodes petal length. The chart colors each data point by species using a categorical color scale applied via `d3.scaleOrdinal` with the `interpolateTurbo` color function, and includes a legend for species identification. The visualization is built with D3.js (v7) using SVG rendering. The code loads data from `iris.csv`, then constructs the chart with `d3.scaleLinear` scales and D3's axis generators (`d3.axisBottom`, `d3.axisLeft`). Interactive tooltips appear on hover, displaying species and petal length information. The chart includes axes labeled for sepal length and width, with a title contextualizing the data relationships.

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