Hacker News new | ask | show | jobs
by AntonyGarand 777 days ago
+1 to echarts: While it can be more complex to start than the others, it remains fairly simple for the default graphs while providing enough flexibility to do pretty much anything.
1 comments

Echarts isn’t hard to set up anymore now that GPT-4 takes care of the complexity.

Charts that used to take me days to set up and data-wrangle now only take minutes.

I suppose this applies to other libraries but I like echarts.

Can you share some of your prompts that you have used?
‘Using echarts and provided DATA, demonstrate how to convert a table of rows such that the “value” is aggregated and shown on a bar chart as the sum of all “values” for each “timestamp”

DATA: {json array}’

Dumping your data into the context window tends to help specify the task and focus the AI on the data structures to use.