Skip to main content
100%

Fork of Fork of Fork of Bar Chart + Axis customisation

✓ Published0🌍 Public
SSudharsan A
Last edited Apr 24, 2021
Created on Apr 24, 2021

This horizontal bar chart displays COVID-19 case totals for ten countries, using a purple-to-pink gradient fill for the bars and a separate gradient for axis tick labels. The visualization uses d3.csv to load the data, d3.scaleLinear for the x-axis, d3.scaleBand for the categorical y-axis, and d3.axisLeft and d3.axisBottom with custom tick formatting to abbreviate large numbers (e.g., converting billions to "B"). Both axis domain lines and tick lines are removed for a cleaner design.

AI-generated description
MIT Licensed

Similar vizzes