🌍 Public
Viewing a saved revision (read-only)
525a6519a86943278c4bd63c0acec9a8
Chapter 2
This demo shows how to load and inspect a JSON dataset with D3 version 6. It fetches a collection of fictional tweets, including user, content, timestamp, retweets, and favorites, using the `d3.json` method. The example also imports from the `d3` and `d3-collection` modules, and logs the `nest` function to the console, though it does not yet render any visualization. The page simply provides a minimal HTML structure with a centered body and an embedded YouTube video, demonstrating the basic setup for a D3 project without producing a graphical output.
AI-generated descriptionA demonstration of how to start using D3 version 6.