Do you know Kappa Sushi? It is a restaurant where you can eat various kinds of sushi at a low price. In this industry, conveyor belt sushi is called dynamic sushi or dynamic sushi. I like this kappa sushi very much, especially thick roasted eggs and egg heaven. I also like the Shinkansen. Recently I wanted to touch d3, so I tried it with Kappa Sushi.
Source code
I wanted suitable data, so I created random data with createcsv.py
I'm a minor, so I omitted drinks with alcohol. See data.csv for details
Let PostgreSQL read csv and create a new csv again with select sum (price), timestamp from kappa_count order by timestamp;
.
Load a new csv with d3.js, make a statistical graph like that, and finish.
There may have been a more efficient way to create suitable random data.
Recommended Posts