Skip to content

thiagodnf/bubble-chart-for-gnuplot

Repository files navigation

Generate gnuplot scripts for bubble charts

GitHub Release GitHub contributors GitHub stars MIT Licence Open Source Love

Usage

Just open https://bubble-chart-for-gnuplot.vercel.app

Screenshots

Usage

You need to enter labels separated by ";". Further quadrants, use the "example" option on app. Generate the script and run following command on terminal:

$ gnuplot script.gnu

Next, you can see some examples of generated results.

One Quadrant

The following code generates a chart with one quadrant:

Red;Circle;10
White;Triangle;4
Red;Triangle;8
Green;Ellipse;1
Blue;Rectangle;15

The result is:

Two Quadrants

Separate the quadrant by using the "#" character. The following code generates a chart with two quadrants:

Red;Circle;10
White;Triangle;4
Red;Triangle;8
Green;Ellipse;1
Blue;Rectangle;15
#
Gold;Circle;6
Silver;Rectangle;2
Silver;Triangle;7
Iron;Triangle;9
Titanium;Rectangle;1

The result is:

alt tag

Four Quadrants

Separate the quadrant by using the "#" character. The following code generates a chart with two quadrant:

Red;Circle;10
White;Triangle;4
Red;Triangle;8
Green;Ellipse;1
Blue;Rectangle;15
#
Gold;Circle;6
Silver;Rectangle;2
Silver;Triangle;7
Iron;Triangle;9
Titanium;Rectangle;1
#
Red;Circle;10
White;Triangle;4
Red;Triangle;8
Green;Ellipse;1
Blue;Rectangle;15
#
Gold;Circle;6
Silver;Rectangle;2
Silver;Triangle;7
Iron;Triangle;9
Titanium;Rectangle;1

The result is:

Screen Shot 2020-12-21 at 9 08 42 PM

For Developers

To run this project, run the following command:

npm run dev

If you want to commit some changes, run the following command:

npm run lint-fix

Q&A

  • How can I increase the circle size?

    • Use the SCALE option to increase or decrease the circle size.

Questions or Suggestions

Feel free to create issues here as you need

Contribute

Contributions to the this project are very welcome! We can't do this alone! Feel free to fork this project, work on it and then make a pull request.

Authors

  • Thiago Ferreira - Initial work

See also the list of contributors who participated in this project.

License

This project is licensed under the MIT License - see the LICENSE file for details

Donate

I open-source almost everything I can, and I try to reply to everyone needing help using these projects. Obviously, this takes time. You can integrate and use these projects in your applications for free! You can even change the source code and redistribute (even resell it).

However, if you get some profit from this or just want to encourage me to continue creating stuff, there are few ways you can do it:

Buy Me A Coffee

Thanks! ❤️