Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Untitled

Public visualization

Viewing a saved revision (read-only)

5b2cfe2119a742228bc2c567a52e07c6

Untitled

0 stars1🌍 Public
Sshmouelsamares
Last edited Feb 23, 2023
Created on Feb 22, 2023
Forked from HTML Starter

This example demonstrates a minimal React page that manipulates a heading element using D3.js. It shows how d3.select() and d3.selectAll() can alter the DOM, changing the h1 tag’s text, color, and class. The bundled data.json contains a node-link structure with six nodes and two edges, though it is not currently rendered in the visualization. The code relies solely on D3’s selection API, not on forceSimulation or other layout functions, making it a basic introductory exercise in combining React with D3.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.