A data visualization project made with D3.js showing the places that NBA players help put on the map.
This visualization uses NBA player data from 1950 to 2017 with 50+ attributes per player. Location data was collected using the Google Maps API.
The following extensions are required for VSCode.
- Live Server
- Prettier
- Live Sass Compiler - Compiles SCSS to CSS
.
βββ 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
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