- 🔭 最近は趣味で Cuculus を開発しています。
takecchi / japan-population-viewer Goto Github PK
View Code? Open in Web Editor NEW都道府県別の人口推移グラフをみるやつです。コーディングテストとして書いたものになります。
Home Page: https://japan-population-viewer.vercel.app
都道府県別の人口推移グラフをみるやつです。コーディングテストとして書いたものになります。
Home Page: https://japan-population-viewer.vercel.app
デザインと開発の一貫性を保つためにStorybookを導入する。
環境構築や.env
、導入ライブラリやアプリケーションの概要など整備していきたい。
.env
の説明都道府県選択で使用するチェックボックスのコンポーネントの作成
グラフを表示するためのライブラリ選定
prettierを入れることでコードの一貫性を確保します。
また、フォーマットを合わせることでコードの衝突防止やレビューの手間を削減する。
選択が増えるとRechartsにカーソルを合わせたときのツールチップが、
どんどん長くなってしまう(ウィンドウがガクガクする)ので、可能であればカーソルをあわせた場所のツールチップのみを表示するなどしたい。
フロントエンドのUIの変更を検出し、意図しない変更がないか確認を行う。
選択した都道府県一覧からグラフを作成する
上部に都道府県のチェックボックス
下部に総人口遷移グラフ
「総人口」だけでなく「年少人口」「生産年齢人口」「老年人口」を切り替えられるようにする。
renovateを使用して継続的にライブラリをアップデートする
RERAS APIから都道府県一覧を取得して表示する。
選択された都道府県番号をクエリパラメータを使ってコンポーネントに伝える
使用するAPIはRESAS-APIと外部のものを使用するが、
API_KEY
の露出を避けるためにAPI Routesを使用してバックエンドを実装する。
ゼロランタイムCSS in JSであるKuma UIを使用
styled
やcss
記法でcssが記述できることStorybookに登録したPrefectures
コンポーネントが正常に動かない。
エラーにuseRouter
とあるのでReactClientComponentが原因
あとuseSearchParams
がnullになる
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.