Skip to main content
100%

menu scatter plot chart

✓ Published0🌍 Public
GGuitong Li
Last edited Feb 6, 2022
Created on Feb 5, 2022
Forked from atlas project

This visualization demonstrates a dropdown menu that allows users to switch between different options, displaying the selected feature in the console. Built with React and D3, the interface includes a world map rendered using geoNaturalEarth1 projection and geoPath, with land masses and graticule lines shown. The project uses useState for managing the selected dropdown value and imports from d3-geo-projection for the map projection. The dropdown component is reusable, accepting options and an onSelectedValueChange callback. The map data comes from world-atlas TopoJSON, processed with topojson feature and mesh functions.

AI-generated description

This bar chart shows population of the top 10 most populous countries. The data comes from the year 2018 estimate in United Nations: World Population Prospects 2017. It also demonstrates customization of D3 axes.

See also the first bar chart visualization that this one builds on: Making a Bar Chart.

MIT Licensed

Similar vizzes