Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

wine_bar_chart_menu_2data

Public visualization

wine_bar_chart_menu_2data

0 stars1🌍 Public
SSophia Cofone
Last edited Oct 28, 2022
Created on Jun 30, 2022
Forked from Barchart

This interactive bar chart visualizes the quality ratings of red and white wines, showing how various chemical attributes like acidity, alcohol, and pH compare across quality scores. A dropdown menu, built with the `dropdown_menu` module, lets users switch between white and red wine datasets and select which chemical attribute to display on the y-axis. The chart, rendered as SVG using D3 v5, animates bar transitions with `transition().duration(1000)` when selections change, sorting bars by quality and updating axes, labels, and the title dynamically. Data originates from a CSV file of wine properties.

AI-generated description

This bar chart shows population of the top 10 most populous countries. The data comes from the year 2018 estimate in United Nations: World Population Prospects 2017.

Comments

Sign in to join the discussion.

MIT Licensed