visualization-tool
visualization-tool copied to clipboard
Automatic title
An idea to potentially explore having an automatic title when we add a new chart. Right now the implementation does it at UI level, but this is problematic since we need to have the dimensionsByIri (right now dimensions are fetched at tabs level), and they are refetched, leading to potential problems. I think it would be better to do it when we add the chart.
- [x] POC to see feasibility
- [ ] Moving generation of title to the reducer when we add the chart
- [ ] Translations
- [ ] Show in UI that title was automatically generated ? Provide a way for the user to accept the automatically generated title ?
Examples
| chartType | fields | title |
|---|---|---|
| column | x: year, y: emissions | Emissions of CO2 per Year |
| line | x: year, y: emissions | Evolution of the Emissions of CO2 |
| pie | y: emissions, segment: gastype | Shares of Emissions of CO2 by Type of Gas |
The latest updates on your projects. Learn more about Vercel for Git ↗︎
| Name | Status | Preview | Comments | Updated (UTC) |
|---|---|---|---|---|
| visualization-tool | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Jun 11, 2024 10:09am |