Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

NBA Dataset Fork

Public visualization

Viewing a saved revision (read-only)

947a1d11d33c4f39b2d1951184970816

NBA Dataset Fork

0 stars0🌍 Public
JJack Hanlon
Last edited Sep 12, 2024
Created on Sep 3, 2024

This example displays a single NBA player’s raw statistics as formatted JSON, using the v3 dataset from the 23/24 season. The `index.js` file imports the CSV data, coerces all numeric fields with unary plus operators, and renders the first record via `JSON.stringify` inside a template literal placed in a container’s `innerHTML`. The output shows the full base averages for that player, confirming the data structure without any charting or visualization libraries.

AI-generated description

The Penguins Dataset, loaded and parsed as CSV.

Fork and modify this template to import your data to VizHub and export it for use in other vizzes! To do that:

  • Fork this viz
  • Clear out the README
  • Update the README with details about your dataset (including original source)
  • Replace data.csv with your own data
  • Replace the parsing logic in index.js with your own
  • Set the custom URL so you can import from it easily

Challenge

  • Find 3 datasets on a topic you are interested in
  • For each of those, fork this viz and replace the data
  • Parse the quantitative attributes into numbers
  • Update README.md to indicate the original data source