Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

D3

Public visualization

Viewing a saved revision (read-only)

a516f2afd37a4a46a0a62eb4c4504b37

D3

0 stars0🌍 Public
HHeikeCardoso
Last edited Aug 11, 2020
Created on Aug 11, 2020
Forked from HTML Starter

This example demonstrates a minimal D3.js setup within a React environment, rendering an SVG element that is styled with a red background. The page includes a simple text placeholder and an empty SVG canvas of 960 by 500 pixels. The code uses d3.select to target the SVG and applies the background color via the style method. Although no data is loaded, the visualization serves as a basic template for integrating D3 with React, relying on the d3.v5 library and direct DOM manipulation.

AI-generated description

A bare minimum HTML page.

See also React Starter.