π Public
Viewing a saved revision (read-only)
5c4d8834213a40b9b586ea32e7f436ed
project plot 3
This interactive bar chart displays the top 10 happiest countries for a selected year, with a dropdown menu to switch between years from 2015 to 2022. It uses D3 v7 to render SVG bars with animated transitions, scaling the y-axis to the highest score plus 0.5. Country names on the x-axis are rotated for readability, and hovering over a bar reveals a tooltip with the precise happiness score. The data is loaded as a CSV from a GitHub repository.
AI-generated description