Skip to content

πŸ€ NBA Hometown Heroes is a data visualization made with D3.js showing the places that NBA players help put on the map.

Notifications You must be signed in to change notification settings

itstonywu/nba-hometown-heroes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

6 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ€ NBA Hometown Heroes

Thumbnail

A data visualization project made with D3.js showing the places that NBA players help put on the map.

πŸ“š Datasets

This visualization uses NBA player data from 1950 to 2017 with 50+ attributes per player. Location data was collected using the Google Maps API.

🧰 Getting Started

The following extensions are required for VSCode.

πŸ“ Repository overview

.
β”œβ”€β”€ css                     # Compiled minified CSS
β”œβ”€β”€ data                    # Source dataset files
β”œβ”€β”€ js                      # Javascript files for visualizations
β”œβ”€β”€ preprocess              # Preprocessing script to retrieve location data using Google Maps API
β”œβ”€β”€ scss                    # SCSS files
β”œβ”€β”€ index.html              # Page markup
└── README.md

🎨 Working with SASS

SASS enables our team to stay organized with our styling, and also enables the use of functions and variables. Using the Live Sass Compiler, all SCSS files gets compiled into a minified CSS file.

The structure of the SCSS files starts with the most primitive and increases to higher level components.

@import 'base'            # Base styles
@import 'typography'      # Typography styles (heading, paragraph, etc.)
@import 'components'      # Component styles (inputs, tooltips, select fields)
@import 'layout'          # Layout styles (positioning sections, right or left alignment classes)
@import 'intro'           # Intro styles (content area before the visualizations)
@import 'vis/index'       # Visualization styles

About

πŸ€ NBA Hometown Heroes is a data visualization made with D3.js showing the places that NBA players help put on the map.

Topics

Resources

Stars

Watchers

Forks