Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

test

Public visualization

test

0 stars0🌍 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

Comments

Sign in to join the discussion.

MIT Licensed