Skip to main content
100%

Untitled

✓ Published0🌍 Public
DDmitry Bodunov
Last edited Feb 21, 2022
Created on Feb 21, 2022
Forked from D3 Starter

This example demonstrates a horizontal bar chart showing the value associated with each country from a CSV dataset. The chart uses D3 version 6, loading data from a remote GitHub URL. The code employs `d3.scaleLinear` for the x-axis, `d3.scaleBand` for the categorical y-axis, and renders bars with the `rect` element. The visualization is built with D3's declarative `join` operation to append rectangles, and axes are created using `d3.axisBottom` and `d3.axisLeft`, with rotated x-axis labels.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes