Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of D3 Starter

Public visualization

Fork of D3 Starter

0 stars0🌍 Public
BBrooney222
Last edited Dec 24, 2020
Created on Dec 23, 2020
Forked from D3 Starter

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 description

A demonstration of how to start using D3 version 6.

Comments

Sign in to join the discussion.

MIT Licensed