Skip to main content
100%

Fork of Bar chart

✓ Published2🌍 Public
Ssalim.mir@outlook.com
Last edited Apr 29, 2024
Created on Apr 29, 2024
Forked from Bar chart

This fork of a bar chart visualizes the top 15 coffee-exporting countries by metric tons, with Brazil leading. The D3.js v7 code loads CSV data from a GitHub repository, sorts it in descending order, and renders horizontal bars using SVG. It employs `d3.scaleLinear` for the x-axis, `d3.scaleBand` for the y-axis, and `d3.axisBottom`/`d3.axisLeft` to draw axes with rotated labels. The chart includes annotations, axis titles, and an underlined heading, styled within a shadowed container.

AI-generated description
MIT Licensed

Similar vizzes