Skip to main content
100%

Fork of Refactored Bar Chartasd

✓ Published0🌍 Public
AAhmeTyAtakan
Last edited May 12, 2022
Created on May 12, 2022

This example renders a scatterplot of YouTube channel data, plotting channels along the x-axis and their actual subscriber counts along the y-axis. The visualization uses React to structure SVG elements, with D3 v5 providing the linear scales and tick generation through `scaleLinear` and `extent`. The data is loaded asynchronously from a CSV file using `d3.csv` in a custom `useData` hook. Axes are built manually from scale ticks, while the marks are ten-pixel-radius circles positioned via the scales. The source data comes from a GitHub gist containing channel statistics.

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