Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Bar chart experiment

Public visualization

Viewing a saved revision (read-only)

cb02b85990bb4e63a508ec35a692b9c7

Bar chart experiment

1 star0🌍 Public
RRamon96
Last edited Jan 21, 2020
Created on Nov 25, 2019
Forked from Hello VizHub

This example visualizes the number of cultural objects per function type within a museum collection, displayed as a horizontal bar chart. It queries a SPARQL endpoint from the Network Digital Heritage dataset using a custom `runQuery` function, then maps the results with D3 v5 scales. The bars are colored using `d3.scaleOrdinal` with `schemeCategory10`, and axes are generated via `axisLeft` and `axisBottom`. Tooltips are added through SVG `title` elements. The chart is rendered entirely as SVG in a static HTML page.

AI-generated description