https://github.com/2kabhishek/pokemon-stats
Gotta stat 'em all 🖲🐭
https://github.com/2kabhishek/pokemon-stats
d3 data emoji pokemon rollup statistics
Last synced: about 2 months ago
JSON representation
Gotta stat 'em all 🖲🐭
- Host: GitHub
- URL: https://github.com/2kabhishek/pokemon-stats
- Owner: 2KAbhishek
- License: gpl-3.0
- Created: 2022-03-26T01:44:57.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2023-02-16T07:42:01.000Z (over 3 years ago)
- Last Synced: 2025-10-25T21:34:58.076Z (8 months ago)
- Topics: d3, data, emoji, pokemon, rollup, statistics
- Language: JavaScript
- Homepage: https://2kabhishek.github.io/pokemon-stats
- Size: 188 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## What is this
Analyses Pokemon stats with D3 and shows them with emojis.
## Inspiration
Always wanted to know these stats about pokemon, finally got around to implementing it.
## Prerequisites
Before you begin, ensure you have met the following requirements:
- You have installed the latest version of `any web browser`, `npm`
## Getting pokemon-stats
To install pokemon-stats, follow these steps:
```bash
git clone https://github.com/2kabhishek/pokemon-stats
cd pokemon-stats
```
## Using pokemon-stats
Open [pokemon.json](./data/pokemon.json) to look at the raw stats.
To look at the compiled web version open [index.html](./index.html) or [2kabhishek.github.io/pokemon-stats](https://2kabhishek.github.io/pokemon-stats).
To make changes to the script you can edit the [main.js](./main.js) file.
You need `rollup` to compile the script.
```bash
npm install
npm run build
# or
npm run watch
```
## How it was built
pokemon-stats was built using `VS Code`, `rollup`, `d3`, and classic web tech.
## Challenges faced
Setting up `d3` with `rollup` was a minor challenge initially.
## What I learned
- Learned about rollup and it's configs
- Explored more of d3's API
- Learned about lots of Pokemon stats
Hit the ⭐ button if you found this useful.
## More Info