🌍 Public
Viewing a saved revision (read-only)
af30a348dfe3428a8f5d4a7a25b8fa35
Fork of Fork of Fork of Bar Chart + Axis customisation
RRohit-2710
Last edited Feb 25, 2021
Created on Feb 25, 2021
Forked from Fork of Fork of Bar Chart + Axis customisation
This bar chart visualizes total COVID-19 cases across eleven countries, using a horizontal layout with a blue-pink gradient fill for bars. The visualization customizes both axes: the y-axis removes tick lines and domain, while the x-axis formats values using D3’s `format` function (e.g., converting to compact notation) and includes a labeled axis title. Data is loaded from a CSV file using `d3.csv`, with scales created via `scaleLinear` and `scaleBand`. Text elements also feature gradient fills, and margins are explicitly set to position the chart within an SVG canvas.
AI-generated description