# Scalable chart graphics

**URL:** <https://discourse.processing.org/t/scalable-chart-graphics/27763>\
**Category:** Coding Questions\
**Created:** [February 12, 2021, 4:30pm UTC](https://discourse.processing.org/t/scalable-chart-graphics/27763 "2021-02-12T16:30:53Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![xbix](https://avatars.discourse-cdn.com/v4/letter/x/ec9cab/32.png) [@xbix](https://discourse.processing.org/u/xbix)\
**Post date:** [February 12, 2021, 4:30pm UTC](https://discourse.processing.org/t/scalable-chart-graphics/27763/1 "2021-02-12T16:30:53Z")

</div>

I want to create good scalable chart graphics, are there any good tutorials about this topic?

Or maybe someone would like to share his ideas about this topic?

Thanks a lot!

---

<div class="post-metadata">

**Author:** ![josephh](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/josephh/32/210_2.png) [@josephh](https://discourse.processing.org/u/josephh)\
**Post date:** [February 12, 2021, 4:35pm UTC](https://discourse.processing.org/t/scalable-chart-graphics/27763/2 "2021-02-12T16:35:36Z")

</div>

Hi,

If by scalable you mean infinitely zoomable, then SVG is the way to go :

[https://processing.org/reference/libraries/svg/index.html](https://processing.org/reference/libraries/svg/index.html)

There’s some examples on this reference page. The nice thing is that you can use the standard Processing library to do that. 😉

---

<div class="post-metadata">

**Author:** ![xbix](https://avatars.discourse-cdn.com/v4/letter/x/ec9cab/32.png) [@xbix](https://discourse.processing.org/u/xbix)\
**Post date:** [February 12, 2021, 5:01pm UTC](https://discourse.processing.org/t/scalable-chart-graphics/27763/3 "2021-02-12T17:01:42Z")

</div>

Thanks!  
Unfortunately, my question was not precise enough. My question is more about code design, rather than exporting the final graph.

---

<div class="post-metadata">

**Author:** ![SNICKRS](https://avatars.discourse-cdn.com/v4/letter/s/43a26b/32.png) [@SNICKRS](https://discourse.processing.org/u/SNICKRS)\
**Post date:** [February 12, 2021, 5:08pm UTC](https://discourse.processing.org/t/scalable-chart-graphics/27763/4 "2021-02-12T17:08:52Z")

</div>

So if i’m understanding correctly, you want to make a chart in processing?

---

<div class="post-metadata">

**Author:** ![josephh](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/josephh/32/210_2.png) [@josephh](https://discourse.processing.org/u/josephh)\
**Post date:** [February 12, 2021, 5:21pm UTC](https://discourse.processing.org/t/scalable-chart-graphics/27763/5 "2021-02-12T17:21:35Z")

</div>

Oh sorry, you might want to look at this library then :

> [@2D graph library for p5.js](https://discourse.processing.org/t/2d-graph-library-for-p5-js/26374):
>
> Hello community members I’ve created a 2d graph library that can be used with p5.js. Here is a sample code in web editor I’m sharing the github repo for the library here. You are free to use the library as well as bring in modifications by creating issues and PRs. @saberkhan @mcintyre Thanks Jithin

But what do you mean by “scalable”?
