#113 — Add data reshaping tool for plots

Repo: Twill-AI/twill-llm-engine State: closed | Status: done Assignee: meliascosta

Created: 2024-08-29 · Updated: 2024-08-30

Description

When creating comparison plots data needs to be reshaped to be understood by echarts as multiple series. Right now since it is in stacked format we get plots like this:

Image

where both years are taken to be part of the same series

getting the right shape just from plain SQL is not easy so it is best handled by an external tool.

AC:

  • The plotting agent has a reshape tool attached
  • Tests are written for that new functionality
  • Comparison plots render correctly

Notes

Add implementation notes, blockers, and context here

Add wikilinks to related people, meetings, or other tickets