Skip to main content
100%

Loading data through SPARQL

✓ Published0🌍 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.

MIT Licensed

Similar vizzes