Skip to main content
100%

Bar chart with D3.js

✓ Published0🌍 Public
WW9183907
Last edited May 25, 2020
Created on May 17, 2020

This bar chart visualizes the average marks for over one hundred university modules, ranked with the module name on the x-axis and the percentage score on the y-axis. The chart highlights a user’s hovered bar by dimming the hovered bar and displaying the percentage difference from it for all other bars via dynamically appended text elements. Built with D3.js v5, the visualization loads data from a CSV file using `d3.csv` and renders as an SVG with animated opacity transitions. Gridlines, a reference line, and axis labels are drawn using `d3.axisLeft` and `d3.axisBottom`.

AI-generated description
MIT Licensed

Similar vizzes