Skip to main content
๐ŸŒ Public

Share visualization

Send this visualization to others.

Refactored Bar Chart

Public visualization

Refactored Bar Chart

0 stars1๐ŸŒ Public
DDaniel Russell-Brain
Last edited Oct 29, 2020
Created on Oct 29, 2020

This bar chart displays the populations of ten countries from a UN 2019 dataset, with countries on the y-axis and population on the x-axis. It uses React components to render SVG elements, with D3 scaleBand and scaleLinear handling the axes and bar positioning. The code is refactored into separate modules for axes, marks, and data loading, demonstrating a clear separation of concerns in a React+D3 visualization.

AI-generated description

Creating a simple program that follows your mouse around the screen.

Comments

Sign in to join the discussion.

MIT Licensed