Skip to main content
๐ŸŒ Public

Share visualization

Send this visualization to others.

General Update Pattern

Public visualization

General Update Pattern

0 stars0๐ŸŒ Public
EEudora An
Last edited Dec 17, 2020
Created on Dec 16, 2020
Forked from Stylized Bar Chart

This example uses the general update pattern to create an interactive survey visualization about social conflicts. After the initial render, buttons let users choose between "Republicans," "Democrats," or "Independents," although the data shown is static. The SVG displays grouped horizontal bar charts for four conflict intensity categories (from "Very strong" to "No conflicts") across five social divides (e.g., "Young and Old"). Built with D3 v6, the code manually enters SVG `<rect>` and `<text>` elements for each group without update or exit transitions.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed