高橋光輝 (@hakatashi) ・紺野瑛介
2018-02-09 東京大学電気系 2017年度情報可視化実験 成果報告スライド
itmedia.co.jp
rocketnews24.com
言語によらない
世界共通のコミュニケーション手段
d3js.org
wikimedia.org
class WorldMapChart {
constructor(props) {
this.svg = props.svg;
...
}
static async create(node) {
const svg = D3.select(node).append('svg');
...
return new WorldMapChart({
svg,
...
});
}
...
}
const WorldMapChart = require('./WorldMapChart.js');
class WorldMap extends React.Component {
...
initialize = async () => {
this.chart = await WorldMapChart.create(this.map);
...
}
...
}
Webpack
Babel
Hammer.js
PostCSS
そのほかの技術
ESLint
Animate.css
Azure Virtual Machines
Azure Storage (Blob, Files)
Azure Web Apps
Azure CDN
🙏
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>EmojiVision - Gigantic Emoji statistics on Twitter</title>
<script async src="index.js" charset="utf-8"></script>
<style>
html, body {
padding: 0;
margin: 0;
width: 100%;
height: 100%;
overflow: hidden;
background: #222;
color: white;
}
body.loading {
position: relative;
display: flex;
align-items: center;
justify-content: center;
}
body.loading .load-screen::before {
content: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox...");
width: 100%;
}
....
</style>
</head>
<body class="loading">
<div class="load-screen">
<div class="loader dots-loader"></div>
</div>
<div class="root"></div>
</body>
</html>
😂