Cookie Consent by Free Privacy Policy Generator

The Best Of

Go to the Best Of the SEO Community.

Noah
Noah
Jan 19, 2025, 10:19 AM
Forwarded from another channel:
Forwarded thread from another channel:
Nicolas Garfinkel
Nicolas Garfinkel
Dec 12, 2024, 3:18 PM
Anyone have a favorite JS library for creating really nice looking data visualizations & graphs? I've used D3.js and nothing else. Curious if anyone has any thoughts or opinions on better ones. Don't want to ever have to rework the code so want to make the right choice up front if possible.
(From GPT)
*D3.js*
*Chart.js*
*Plotly.js*
*ECharts*
*Highcharts*
*Google Charts*
*Recharts*
*Victory*
*Nivo*
*Vega & Vega-Lite*
Derek Perkins
Derek Perkins
Dec 12, 2024, 4:14 PM
what's your level of code experience, and how much flexibility do you need?
Derek Perkins
Derek Perkins
Dec 12, 2024, 4:15 PM
the creator of d3 is now doing Observable, which does an awesome job of declarative charts that I love. It doesn't have as many options / features as some of these other ones, but it's great for moving fast
A concise API for exploratory data visualization implementing a layered grammar of graphics - observablehq/plot
GitHub: GitHub - observablehq/plot: A concise API for exploratory data visualization implementing a layered grammar of graphics
Derek Perkins
Derek Perkins
Dec 12, 2024, 4:17 PM
Highcharts and amCharts will probably be the easiest, and are also paid
Nicolas Garfinkel
Nicolas Garfinkel
Dec 12, 2024, 4:17 PM
Code Comfort: I'm very comfortable writing code and my team even more
Flexibility: Not a whole lot. Honestly, some libraries the charts look like :hankey: right out of the gate unless you do a lot of modifications but you can pretty much do anything with them. For me, I'm just looking for something that's fairly performant, and visually appealing. Little flexibility is fine by me. The charts themselves aren't too complicated!
Nicolas Garfinkel
Nicolas Garfinkel
Dec 12, 2024, 4:18 PM
Would like if they had tables as well.
Nicolas Garfinkel
Nicolas Garfinkel
Dec 12, 2024, 4:20 PM
A simple Flask app with vanilla JS/html/css frontend would be ideal but I could live with react!
Dale McGeorge
Dale McGeorge
Dec 12, 2024, 4:21 PM
We use Highcharts and found it really good. Haven't hit any limitations on anything we've built
Derek Perkins
Derek Perkins
Dec 12, 2024, 4:24 PM
if you're in Python, plotly has a whole suite for reporting
Discover data applications for production with Plotly Dash. Put data and AI into action with scalable, interactive data apps for your organization.
Data Apps for Production | Plotly
Nicolas Garfinkel
Nicolas Garfinkel
Dec 12, 2024, 4:27 PM
Is it crazy to say that the charts in the Python packages just don't "look good" compared to some of the better JS libraries out there without a lot of heavy lifting? Feel free to tell me I'm totally wrong, honestly been a while since I've done much data viz stuff via code
Elias
Elias
Dec 12, 2024, 4:28 PM
Plotly as @Derek Perkins said
It's Python, but built with js
Derek Perkins
Derek Perkins
Dec 12, 2024, 5:04 PM
> Is it crazy to say that the charts in the Python packages just don't "look good" compared to some of the better JS libraries out there
no, it's not crazy, that's just a function of plotly not looking as slick
Nicolas Garfinkel
Nicolas Garfinkel
Dec 12, 2024, 5:10 PM
Sorry for not sharing the specifics upfront. I wasn't aware of them until further in the conversation. If my 4 deciding factors were:
• low effort slickness
• cost (Don't want to pay $1k/year or anything crazy like that - will always be a relatively small user base)
• performance
• Don't have to roll a react app
what's your take on the best package to use?
Nicolas Garfinkel
Nicolas Garfinkel
Dec 12, 2024, 5:10 PM
Is it still Plotly? Totally fine if it is, I can deal with that!
Derek Perkins
Derek Perkins
Dec 12, 2024, 5:26 PM
there's definitely not a "right" choice, just depends what you want to prioritize
Derek Perkins
Derek Perkins
Dec 12, 2024, 5:26 PM
we actually wrote the bulk of Chart.js 2.0 to use at Nozzle, but then quit using it because we needed more than we could get with canvas
Nicolas Garfinkel
Nicolas Garfinkel
Dec 12, 2024, 5:28 PM
This has been crazy helpful. So thank you seriously!
Nicolas Garfinkel
Nicolas Garfinkel
Dec 12, 2024, 5:29 PM
and D3 and do some light eval and just pick one
Derek Perkins
Derek Perkins
Dec 12, 2024, 5:29 PM
I don't have any experience with pyecharts, but echarts wouldn't be a bad choice, and if your backend is in Python and you can avoid adding a bunch of js, that's a win for you
Nicolas Garfinkel
Nicolas Garfinkel
Dec 12, 2024, 5:29 PM
COOL COOL! I'll give it a go
Derek Perkins
Derek Perkins
Dec 12, 2024, 5:30 PM
I would probably not roll d3 by itself. Many of these libraries use its primitives, and it's super powerful, but not easy to use
Nicolas Garfinkel
Nicolas Garfinkel
Dec 12, 2024, 5:30 PM
really really appreciate the help from you and the other folks in the thread
Elias
Elias
Dec 13, 2024, 5:28 AM
@Nicolas Garfinkel Yes, it’s still plotly (it check the four requirements, and is available as a JS library, as well as python, R, and a few other languages)
Nicolas Garfinkel
Nicolas Garfinkel
Dec 13, 2024, 9:10 AM
Probably going to go with Plotly and just put in the work to design them to be more visually appealing than the default breakout
Elias
Elias
Dec 13, 2024, 9:28 AM
My pleasure.
You can explore the various options here, create a chart and then play with:
• template
• color discrete sequence
• color continuous scale
These options map 1:1 to the code version (underscore were remove otherwise all applies as is)

Our Values

What we believe in

Building friendships

Kindness

Giving

Elevating others

Creating Signal

Discussing ideas respectfully

What has no home here

Diminishing others

Gatekeeping

Taking without giving back

Spamming others

Arguing

Selling links and guest posts


Sign up for our Newsletter

Join our mailing list for updates

By signing up, you agree to our Privacy Policy and Terms of Service. We may send you occasional newsletters and promotional emails about our products and services. You can opt-out at any time.

Apply now to join our amazing community.

Powered by MODXModx Logo
the blazing fast + secure open source CMS.