🌍 Public
Viewing a saved revision (read-only)
8b641066a8524f62ab89afeb157e6af1
Fork of Scatter Plot with Menus (x & y)
This interactive bar chart displays mean measurements of three iris species, with a dropdown menu to select which measurement appears on the x-axis while the y-axis shows species categories. The visualization uses D3’s `scaleLinear` for the x-axis and `scaleBand` for the y-axis, with React managing state for the selected attribute. Data loads from a CSV file via d3.csv, and bars are rendered as SVG rectangles. The interface updates the x-axis label and bar widths dynamically when users change the selected measurement.
AI-generated descriptionA program that loads in saome data using d3 utilities and uses React to keep track of the data.