Skip to main content
100%

D3 Example

✓ Published1🌍 Public
Zzoniyac
Last edited May 12, 2020
Created on May 12, 2020
Forked from D3 Example

This example shows a bar chart comparing the population of five religions, using SVG rendering within a React framework. The bars are filled with distinct texture patterns—hexagons, crosses, caps, woven, and waves—generated by the textures library, with each religion assigned a unique pattern via an ordinal color scale. The code uses D3 v3 APIs including `d3.scale.ordinal`, `d3.svg.axis`, and `d3.csv` to load and visualize the `religionWorldTotals.csv` data, with axes formatted using a custom SI tick formatter that converts "G" to "B" for billions.

AI-generated description

A bare minimum HTML page.

See also React Starter.

MIT Licensed

Similar vizzes