Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

wine_histogram

Public visualization

wine_histogram

0 stars0🌍 Public
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

Comments

Sign in to join the discussion.

MIT Licensed