Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

D3 Example

Public visualization

Viewing a saved revision (read-only)

d1ebb866f93a4f7e9944848f07f24f83

D3 Example

1 star1🌍 Public
Zzoniyac
Last edited May 13, 2020
Created on May 12, 2020
Forked from HTML Starter

This example presents a bar chart of religious populations using SVG rendering, with each bar filled by a distinct path-based texture pattern. The visualization maps the `religion` column to the x-axis and `population` to the y-axis, using `d3.select` and SVG attributes to construct the chart. The code leverages the `textures` library to generate four unique path fills applied via `svg.call()`, while D3 v3 handles the axis and layout with specified margins and bar padding. The chart communicates categorical population data through textured bars, offering a visually distinctive alternative to solid color fills.

AI-generated description

A bare minimum HTML page.

See also React Starter.