Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Untitled

Public visualization

Viewing a saved revision (read-only)

f526fc66de694dafa7984ab790be4320

Untitled

0 stars3🌍 Public
Ssubratanp
Last edited Jan 22, 2023
Created on Jan 22, 2023

This example demonstrates a minimal web page using D3.js to selectively update the text and styling of two HTML div elements. The code imports the `select` function from D3, then applies the text, background-color, width, height, and display properties to each element. It shows how D3’s selection API can manipulate DOM nodes with direct method calls, using only a simple HTML structure and the D3 library.

AI-generated description

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

See also React Starter.