Skip to main content
100%

Untitled

✓ Published3🌍 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.

MIT Licensed

Similar vizzes