https://wattenberger.com/blog/react-and-d3
https://d3-react-patterns-lloydrichards.vercel.app/ https://github.com/lloydrichards/D3-React-Patterns
// we need to format a csv file | |
import converter from 'json-2-csv' | |
// we need to write a csv file | |
import fs from 'fs' | |
// we need to hit their api | |
import fetch from 'node-fetch' | |
// we need to unfold nested objects | |
import flatten from './flatten.js' | |
const URL = 'https://www.balldontlie.io/api/v1' |
:root { | |
/* https://www.w3schools.com/tags/ref_pxtoemconversion.asp */ | |
--size-xs: 0.25em; | |
--size-s: 0.5em; | |
--size-m: 1em; | |
--size-l: 1.5em; | |
--size-xl: 2em; | |
--saturation: 50%; | |
--lightness: 40%; |
Inspired by dannyfritz/commit-message-emoji
See also gitmoji.
Commit type | Emoji |
---|---|
Initial commit | 🎉 :tada: |
Version tag | 🔖 :bookmark: |
New feature | ✨ :sparkles: |
Bugfix | 🐛 :bug: |