Extension: make data interactive
Allow 10 minutes. Make a small chart whose result changes in one predictable way.
- Ask the chatbot to compare Chart.js, Plotly, D3.js and Three.js, then pick a chart idea.
- For a local first version, ask for a bar chart with fictional values 4, 6 and 10 and a multiplier slider. Save the complete HTML and open it.
- Set the multiplier to 1 and then 2. Compare the bars and visible numbers, then return it to 1.
- If you try a library version, record its version and source URL. Use the Console to diagnose a loading failure.
Check your result
- Multiplier 1 shows 4, 6, 10. Multiplier 2 shows 8, 12, 20. Returning to 1 restores the original values.
- You tested the saved page and recorded which version worked.
Exercise card · prompt and fileshttps://chatbot-vibecode.industrial-linguistics.com/exercises/visualisation.htmlOpens in a new tab