Basic Chart, simple dataset
✓ Published1🌍 Public
This example shows five red circles positioned in a linear diagonal pattern with x values from 100 to 500 and y values from 50 to 250, loaded from a two-column TSV dataset. The visualization uses D3 v5’s `d3.tsv` function to asynchronously fetch the data, then binds it to SVG `circle` elements through the `data()`, `enter()`, and `append()` chain. Each circle’s `cx` and `cy` attributes are mapped directly from the data columns, while the SVG canvas has a light gray background. The dataset mimics simple population-related coordinates, though it contains no actual population figures.
AI-generated descriptionBar chart to display population data of most populated countries in the world United Nations: world population prospects 2017 page.
MIT Licensed