textSQL
textSQL copied to clipboard
Feature: Plot barcharts using plotly
FYI - I have disabled Mapbox rendering for now to allow easy testing of the plotted bar charts. Will reenable + clean up some code before merging.
Won't work on mobile
Changes: figuring out how to pick the X and Y axis. few different options:
Approach A: Select column 0 as X axis, column 1 as Y axis. This works when you have multiple rows (and only 2 columns). Doesn't work when you have > 2 columns.
Approach B: Select columns as X axis, row 0 as Y axis. This works when you have multiple columns (but only 1 row). Doesn't work when you have > 1 rows.

Approach C: Do a stacked bar chart. Select column 0 as the X axis, column 1 to N as the Y axis. This works with >2 columns and >2 rows, but doesn't work when the datatype is not consistent between columns 1 to N (say some column are numbers, some columns are strings)

The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated |
---|---|---|---|---|
text-sql | ✅ Ready (Inspect) | Visit Preview | 💬 Add your feedback | Mar 14, 2023 at 0:36AM (UTC) |