Skip to main content
100%

test

✓ Published0🌍 Public
Llarsboergo
Last edited Feb 11, 2021
Created on Feb 11, 2021
Forked from soejle demo

This example shows a bar chart of country populations that reorders its bars according to a user-selectable sorting option. The chart initially displays data in descending frequency order, but a dropdown menu allows switching between alphabetical and ascending or descending value sorting. The visualization uses D3 v6 APIs including `scaleLinear`, `scaleBand`, `axisLeft`, and `axisBottom`, with SVG rectangles for rendering. The data comes from a CSV file loaded into the chart.

AI-generated description
MIT Licensed

Similar vizzes