🌍 Public
Viewing a saved revision (read-only)
900aee4fda7d4ee2a6a03a71af3f7dc3
Untitled
This example demonstrates how to begin using D3 version 6 by loading and logging a CSV dataset of country populations. It uses `d3.csv` to fetch `data.csv`, which contains population figures for ten countries, and logs the parsed array to the console. The code initializes an SVG selection with `d3.select` and reads its width and height attributes, though no visual output is rendered yet. The example serves as a minimal starting point for integrating D3’s data-handling and selection APIs in a project.
AI-generated descriptionA demonstration of how to start using D3 version 6.