Skip to main content
100%

Question 2

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

This visualization uses the classic Iris dataset to display flower measurements as horizontal bar charts. The chart is implemented with D3 v7, using `d3.scaleBand` for species categories on the y-axis and `d3.scaleLinear` for measurement values on the x-axis. Each rect bar is colored by species via an ordinal color scale, and hovering over a bar reveals a tooltip showing the attribute, species, and value. The graphic also includes a legend and axis labels, with data loaded from a CSV file.

AI-generated description
MIT Licensed

Similar vizzes