Git Product home page Git Product logo

Comments (1)

Yeryomin1 avatar Yeryomin1 commented on July 26, 2024

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 photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.