Lets make face with D3.js
✓ Published1🌍 Public
This example visualizes a simple bar chart from an array of numeric values, `[4,8,15,16,23,42]`, where each value determines the width of a colored bar. The page uses D3.js v5 loaded from a CDN, alongside plain HTML and CSS, to render the bars with steel-blue backgrounds and right-aligned white text inside each div. The chart demonstrates basic data binding and styling without complex D3 scales or axes, relying instead on static div elements with inline width styles. It serves as a minimal introduction to representing data as proportional rectangles.
AI-generated descriptionA bare minimum HTML page.
See also React Starter.
MIT Licensed