Hacker News new | ask | show | jobs
by rm_-rf_slash 782 days ago
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.

1 comments

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.