Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6917039
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T09:40:47+00:00 2026-05-27T09:40:47+00:00

I’d like to store data from actual graphs. in other words we might the

  • 0

I’d like to store data from actual graphs. in other words we might the following for example:

  • paper: smith

  • finance type: outgoings

  • time | 0 10 20 30 … etc

    amount | 10 22 31 44 … etc

I would like to store the variables paper, finance type and for each the graph data given by time-amount. there will be other variables also (note the above example is fictional)

I’m not here to get solutions although I hardly know anything about databases. Would like to get started. When I type in Google ‘store data from graph in database’ all I get is information about sql graph types, node etc. I need just some direction for the actual tools to use (MySql or another database type? XML?). I will eventually want to extract the graph data of person and use that information. Google is not being my friend at the moment and I don’t know who to ask personally

The database wouldn’t be that big but will eventually run into 1000s of entries.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T09:40:48+00:00Added an answer on May 27, 2026 at 9:40 am

    It is possible to model this in a database, but if you hardly know anything about them, you should start learning a bit about ER schema’s, normalization (just up to third normal form) and the basic DDL and DML queries.

    Anyway, possible model with two tables:

    TABLE 'graphs'
     - ID
     - paper
     - finance type
    
    TABLE 'graphdata'
     - ID
     - GRAPH_REF
     - TIME
     - AMOUNT
    

    In your table graphs, you put 1 line for each graph you have. You might have a graph for ‘smith, outgoings’, one for ‘smith, incomings’, one for “deloitte, reports”… that would be three lines. The ID is just a counter.

    In the table ‘graphdata’, you put 1 line for each data point. Again, the ID is just a counter. The GRAPH_REF is the ID of the graph in the ‘graphs’ table where this data-point belongs to.

    So for your example, you’d have the following graphdata rows:

    1 - 1 - 0 - 10
    2 - 1 - 10 - 22
    3 - 1 - 20 - 31
    4 - 1 - 30 - 44
    

    Are you following so far? Now you can make a webpage (or an application, anything you can program that can work with SQL – even Excel or Access will work) that gives a user the choice to create a new graph, or select an existing graph.

    Creating a new graph would insert a new row in the ‘graphs’ table. Then, for each data point, you put a new row in the ‘graphdata’ table.

    When they select an existing graph, you fetch the data points from the graph, and display to them. Maybe they can add/delete points?

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

For some reason, after submitting a string like this Jack’s Spindle from a text
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
I would like to run a str_replace or preg_replace which looks for certain words
I have a .ini file as follows: [playlist] numberofentries=2 File1=http://87.230.82.17:80 Title1=(#1 - 365/1400) Example
I would like to count the length of a string with PHP. The string
link Im having trouble converting the html entites into html characters, (&# 8217;) i
I've got a string that has curly quotes in it. I'd like to replace
I am trying to render a haml file in a javascript response like so:
I'm using v2.0 of ClassTextile.php, with the following call: $testimonial_text = $textile->TextileRestricted($_POST['testimonial']); ... and
I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.