🌍 Public
Viewing a saved revision (read-only)
056995a9debe47b9a9c9efa21b429cd2
wine_histogram
SSophia Cofone
Last edited Oct 26, 2022
Created on Oct 26, 2022
This interactive histogram displays the distribution of wine quality ratings, with a dropdown menu allowing viewers to switch between different chemical attributes. The chart animates bar transitions when the selected variable changes. Built with D3 version 7, it uses `d3.histogram()`, `scaleLinear`, and `axisBottom` to render the SVG visualization. The data comes from a semicolon-delimited CSV file containing wine properties, and the code includes a custom `dropdownMenu` module for user interaction.
AI-generated description