Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Loading data through SPARQL

Public visualization

Viewing a saved revision (read-only)

2e8825d0333c4f7181fc4aa7f944094b

Loading data through SPARQL

0 stars0🌍 Public
Jjoanpadolina
Last edited Nov 14, 2019
Created on Nov 14, 2019
Forked from HTML Starter

This example demonstrates a SPARQL query against the Network of Digital Heritage (NDE) API, displaying the results as raw JSON text in a paragraph element. The visualization shows counts of cultural heritage objects grouped by material type and African place names. The code uses D3 v5’s `d3.json()` helper to fetch data from the SPARQL endpoint, with the query wrapped in template literals and passed as a URL-encoded parameter. The results are rendered by directly setting the innerText of the paragraph, without any further visual encoding.

AI-generated description

A bare minimum HTML page.

See also React Starter.