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 6946009
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T13:30:35+00:00 2026-05-27T13:30:35+00:00

I am trying to use the graph explained in this website in my web

  • 0

I am trying to use the graph explained in this website in my web application. I want to use it to show some monthly statistics for each division in my company. So in the legend I could be able to list the divisions names (I have 7 divisions). Now I want to create 7 bars in the graph, but I have not been able to do that. Could anyone tell me how to add more bars to the graph?

My HTML code:

<!doctype html>
<html lang="en">
    <head>
        <meta charset="utf-8">
        <meta name="viewport" content="width=1024">
        <title>Example 3 - Animated Bar Chart via jQuery</title>
        <link rel="stylesheet" href="css/common.css">
        <link rel="stylesheet" href="css/03.css">
    </head>

    <body>
        <div class="toggles">
            <p><a href="#" id="reset-graph-button">Reset graph</a>
            Mouse over the bars to display information.</p>
        </div>
        <div id="wrapper">
            <div class="chart">
                <h2>PMOD Divisions' Safety Training Record</h2>

                <table id="data-table" border="1" cellpadding="10" cellspacing="0" summary="The effects of the zombie outbreak on the populations of endangered species from 2012 to 2016">
                    <caption>Population in thousands</caption>
                    <thead>
                        <tr>
                            <td>&nbsp;</td>
                            <th scope="col">September</th>
                            <th scope="col">October</th>
                            <th scope="col">November</th>
                            <th scope="col">December</th>
                        </tr>
                    </thead>
                    <tbody>
                        <tr>

                            <th scope="row">A</th>
                            <td>4080</td>
                            <td>6080</td>
                            <td>6240</td>

                        </tr>
                        <tr>
                            <th scope="row">E</th>
                            <td>5680</td>
                            <td>6880</td>
                            <td>5760</td>
                        </tr>
                        <tr>
                            <th scope="row">D</th>
                            <td>1040</td>
                            <td>1760</td>
                            <td>2880</td>
                        </tr>
                        <tr>
                            <th scope="row">PE</th>
                            <td>5680</td>
                            <td>6880</td>
                            <td>5760</td>
                        </tr>
                        <tr>
                            <th scope="row">OD</th>
                            <td>5680</td>
                            <td>6880</td>
                            <td>5760</td>
                        </tr>
                        <tr>
                            <th scope="row">ES</th>
                            <td>5680</td>
                            <td>6770</td>
                            <td>5760</td>
                        </tr>
                        <tr>
                            <th scope="row">SS</th>
                            <td>5680</td>
                            <td>6880</td>
                            <td>5760</td>
                        </tr>
                    </tbody>
                </table>
            </div>
        </div>

        <!-- JavaScript at the bottom for fast page loading -->


        <!-- Grab jQuery from Google -->
        <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script>

        <!-- Example JavaScript -->
        <script src="js/03.js"></script>

    </body>
</html>
  • 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-27T13:30:36+00:00Added an answer on May 27, 2026 at 1:30 pm

    You can just add an extra rows to the table, like you did.

    What rest is CSS styling. You need to refine the width attribute of a couple classes: legend, x-axis and so on.

    You also need to define fig-classes for each bar, see .fig0 .fig1 and so on.

    See 03.css: http://provide.smashingmagazine.com/graph_tut_files/css/03.css

    See common.css: http://provide.smashingmagazine.com/graph_tut_files/css/common.css

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

Sidebar

Related Questions

I'm trying to use the new Facebook Graph API on my website. This is
I am trying to use Google graph API (image) to show some data in
I'm currently trying to use the core-plot library to graph some data I get
Im trying to do a simple script with this: How-To: Use the Graph API
I am creating a web application that is trying to use public Facebook content.
I'm trying to use a Webview to add some text around a graph produced
I'm trying to use networkx to do some graph representation in a project, and
I'm trying to use the Kowalski graph algorithm for resolution theorem proving. The description
Trying to use this method (gist of which is use self.method_name in the FunnyHelper
Trying to use GnuPG with Delphi (Win32). I need to sign some file with

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.