wiki-data-api
✓ Published0🌍 Public
11wheel
Last edited Oct 22, 2015
Created on Oct 21, 2015
This example uses the Wikidata API to retrieve and display the tenure of every Speaker of the United States House of Representatives. It begins by querying Wikidata for all individuals who held the position, then fetches their biographical details, including birth and death dates and term start and end times. The `wikidata-sdk` library handles the API requests, while `d3` and `lodash` process the returned JSON data. The final output is a sorted list of speakers with their service periods, ready for charting.
AI-generated descriptionUsing wikidata to download each Speaker of the House
https://github.com/maxlath/wikidata-sdk