Fork of D3 Starter
✓ Published0🌍 Public
This example demonstrates the basic setup for a D3 version 6 project, displaying a static "Hello world" message in the browser. It shows how to structure an HTML page with a script tag loading the D3 library and a separate JavaScript module that imports the `select` function. The code includes a sample dataset of car objects parsed from a JSON string, though the visualization does not render this data. The page uses a simple styled `<pre>` element to output the text, with the main logic handled through `document.getElementById` and the imported D3 selection method.
AI-generated descriptionA demonstration of how to start using D3 version 6.
MIT Licensed