Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Bar Chart Example with CSV Dataset

Public visualization

Viewing a saved revision (read-only)

8afb27f2ac534576aa7b4055b698da92

Bar Chart Example with CSV Dataset

0 stars0🌍 Public
Aachyutanandmishra17@gmail.com
Last edited Mar 12, 2023
Created on Mar 12, 2023
Forked from HTML Starter

This example shows a bar chart comparing dog breed data loaded from a remote CSV file. The chart uses D3.js v6 within an HTML page to render SVG bars scaled by value, with x and y axes positioned using margins. It creates a linear y-scale and a band x-scale, then appends rectangles for each data row. The data is fetched via `d3.csv`, and axes are drawn with `d3.axisBottom` and `d3.axisLeft`.

AI-generated description

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

See also React Starter.