Fork of Histogram with Iris Data - Data Decoder
✓ Published0🌍 Public
This visualization presents the classic Iris dataset as an interactive histogram, featuring both vertical bars for petal length and horizontal circular marks for sepal width. Users can change the X and Y attributes via dropdown menus, with the visualization updating accordingly. The implementation combines React for state management with D3 v7 functions like `scaleLinear`, `bin`, and `count` to compute and render the histogram bins. SVG elements are used for drawing, and the data is loaded via `d3.csv` from a GitHub gist. The chart displays species color-coded through a `scaleOrdinal` color scale.
AI-generated descriptionA program that loads in some data about CSS colors
MIT Licensed