Skip to content

Instantly share code, notes, and snippets.

View shimizu's full-sized avatar

shimizu shimizu

View GitHub Profile
@shimizu
shimizu / README.md
Last active December 28, 2022 07:20

millerコマンドの解説に使ったサンプルcsv

@shimizu
shimizu / README.md
Last active November 10, 2022 14:20
sample countries geojson
@shimizu
shimizu / README.md
Last active August 14, 2022 10:52
MapboxGL & D3.js - polygon
@shimizu
shimizu / README.md
Last active June 19, 2022 22:54
RESAS API module

概要

D3.jsを使ってRESAS APIにアクセスするためのモジュール

使い方

<script src="//cdnjs.cloudflare.com/ajax/libs/d3/4.1.1/d3.min.js"></script>    
@shimizu
shimizu / index.html
Last active October 24, 2021 08:01
地球儀 - ドロップシャドウエフェクト
<!DOCTYPE html>
<meta charset="utf-8">
<style>
html, body {
margin: 0px;
padding: 0px;
}
</style>
<body>
@shimizu
shimizu / .block
Last active June 1, 2021 08:12
Chart Downloader α
license: gpl-3.0
@shimizu
shimizu / .block
Last active May 22, 2021 16:32
D3 v4 - Voronoi diagram on Google Maps
license: mit
@shimizu
shimizu / ChartComponents.js
Last active January 23, 2021 20:36
React & D3 v4 example - Line Chart
//todo:後で分割する。
import * as d3 from "d3";
import React, { Component } from "react";
export default function D3blackbox(d3render) {
return class Blackbox extends Component {
componentDidMount() {
d3render.call(this);
@shimizu
shimizu / README.md
Last active September 8, 2020 16:44
商圏分析

高崎市にあるヤマダ電機から、車で5分以内、10分以内、20分以内に到達可能なエリア(到達圏)を算出し、統計局の「小地域(町丁・字等別)男女別人口総数及び世帯総数」と組み合わせて、到達圏ごとの男女年代別人口を計算。

このあたりの計算はすべてQGISを計算し、計算結果をGeoJSONとして出力してleaflet.jsを用いて表示している。

@shimizu
shimizu / .block
Last active September 7, 2020 08:33
衆院選ー投票率と議席率の推移
license: mit