🌍 Public
Viewing a saved revision (read-only)
ec48749402d94d62aa82d4ae05c5e9c9
Fork of testD3
This example demonstrates the basic setup of a D3.js version 7 project, rendering an empty page with a large, centered text area. The code imports the `select` function from the D3 library and logs it to the console, while also calculating the browser window dimensions using `window.innerWidth` and `window.innerHeight`. The `index.html` file includes the D3 script from a CDN and loads a bundled JavaScript file, showing how to structure a minimal D3 application with a simple CSS-styled body.
AI-generated descriptionA demonstration of how to start using D3 version 6.