Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

D3.js Bar Chart

Public visualization

Viewing a saved revision (read-only)

abe72d59485842baac3aff3c8755919b

D3.js Bar Chart

0 stars0🌍 Public
KKHUN LOUN ZAI
Last edited May 14, 2023
Created on May 14, 2023
Forked from HTML Starter

This example displays a simple bar chart rendered as three colored rectangles within an SVG container. The code uses D3.js v7, loaded via a CDN link, alongside standard HTML and CSS. Each bar’s position and size are hardcoded directly in the SVG elements, with `rect` tags specifying x, y, width, and height attributes. The visualization demonstrates basic SVG drawing without data binding or scales, serving as a minimal static chart. The source is plain HTML with inline SVG markup.

AI-generated description

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

See also React Starter.