project plot 3
✓ Published0🌍 Public
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 descriptionMIT Licensed