Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Bar chart with D3.js

Public visualization

Bar chart with D3.js

0 stars0🌍 Public
PPriyaEnuganti
Last edited Jul 6, 2022
Created on Jul 6, 2022

This bar chart visualizes annual milk production across eight countries, with India leading at 137.5 million gallons. Built with D3.js v5, the SVG visualization features interactive bars that respond to mouse hover. Upon hovering, the selected bar enlarges and fades, while a dashed horizontal line appears at its value and divergence percentages are displayed relative to all other countries. The chart includes horizontal grid lines and axes, with data hardcoded in the JavaScript source.

AI-generated description

Hafl way towards the smiley face.

Comments

Sign in to join the discussion.

MIT Licensed