🌍 Public
Viewing a saved revision (read-only)
025ce93b8a704eaf96e675c28b19e8b3
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.