Skip to main content
100%

Gist f0b5295ac06573fd875dac15dc6fe1e1

✓ Published0🌍 Public
LLayne Smith
Last edited Apr 11, 2017
Created on Apr 11, 2017

This example logs a shuffled array and fetches JSON data from a Dallas News data store containing Cowboys draft history. Using jQuery for DOM readiness and Lodash's `shuffle`, it imports a custom `getdata` module that relies on `d3-fetch`'s `json` function to asynchronously retrieve the dataset and output it to the console. The code also demonstrates commented-out alternatives with jQuery's `$.getJSON`, showing a work-in-progress approach to loading and logging the same external JSON resource.

AI-generated description

Similar vizzes