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
AAlbert Lee
Last edited Jul 22, 2021
Created on Jul 22, 2021
Forked from D3 Starter

This example demonstrates how to initialize a D3 version 6 project, displaying the year of the first car in a dataset. The code uses `d3.v6` from the official CDN and imports car data from a local JavaScript module, parsing a JSON string. The index.js file accesses `cars[0].year` and sets it as the text content of a pre element, while the HTML page includes a centered large-font style and references the bundled script.

AI-generated description

A demonstration of how to start using D3 version 6.

Comments

Sign in to join the discussion.

MIT Licensed