Skip to main content
100%

Fork of D3 Starter

✓ Published0🌍 Public
ZZoe Ferencova
Last edited Jan 12, 2023
Created on Jan 12, 2023
Forked from D3 Starter

This example shows a bar chart ranking Nobel Prize counts by country, using a static dataset of ten nations with the United States leading at 336 prizes. The visualization is rendered as SVG via D3 v7, with `d3.scaleBand` positioning bars along the x-axis and `d3.scaleLinear` mapping values to heights on the y-axis. Axis generation relies on `d3.axisBottom` and `d3.axisLeft`. The code demonstrates a data join with `.join()` to create rectangles, and includes a filter for zero values, though no interactive behavior beyond the initial rendering is implemented.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes