Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of D3 Starter

Public visualization

Viewing a saved revision (read-only)

5ee6c38ea0084e199d9e46e5e36e988d

Fork of D3 Starter

0 stars0🌍 Public
Aabdalla2hagos
Last edited Dec 21, 2022
Created on Dec 21, 2022
Forked from D3 Starter

This example demonstrates the simplest possible D3 setup: a blank SVG element appended to the page body, with the word "hi" printed to the browser console. The code uses D3 v7’s `select` function to target the body and append an empty SVG container, while relying on an external script tag for the D3 library and a separate `bundle.js` for execution. No data or visual marks are drawn; the page merely shows a centered, oversized text "hi" as a static placeholder. The source is a starter template for learning D3's basic structure.

AI-generated description

A demonstration of how to start using D3 version 6.