Comments (1)
Hello!
What should a graph be able to do? If I understand the idea correctly, the submitted data should be updated. Accordingly, the ranges of abscissae and ordinates are changed, which ensure the convenience of information perception. For example, if during the first 10 seconds the population changed between 120 and 140 units, then at the tenth second it is desirable to have from 100 to 150 units on the ordinate axis. When the population exceeds 150 units, we have to change the scale of the axis so that the line does not go over the border. Accordingly, you need to scale the line that has already been drawn. Or is this logic overly complex? Second question: what time interval should the abscissus axis reflect? Perhaps this is the entire interval from the beginning of the game. In this case, the graph will be compressed horizontally. Another option is to display, for example, the last 10 seconds. The graph will not shrink, but the history will be lost.
Maybe I'll try to create something like this.
from life.
Related Issues (9)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from life.