Skip to main content
100%

React select

✓ Published0🌍 Public
NNick Pearson
Last edited May 21, 2021
Created on May 21, 2021
Forked from World Map

This example demonstrates how to filter a dataset using a React dropdown menu. It displays a simple bar chart of the top 10 most populous countries, using data from the United Nations World Population Prospects 2019. The React `Dropdown` component, built with the `select` element, manages state through `React.useState` and updates the chart based on the user's selection. The visualization uses `d3` v5 for rendering.

AI-generated description

A program that shows the top 10 most populous countries as a pathetic bar chart with no axes.

Data: United Nations World Population Prospects 2019.

MIT Licensed

Similar vizzes