Círculos con interacción
✓ Published0🌍 Public
Seven colorful circles rest on a soft green background, with one highlighted by a black outline and full opacity. Clicking any circle selects it and persists that choice by rewriting the `selectedIndex.csv` file through VizHub’s `writeFile` API. The code uses D3 selections (`select`, `join`) to render and update the SVG circles, while reading the initial selection from the CSV via an imported module. This demonstrates self-modifying code where user interaction changes the stored state.
AI-generated descriptionAn example of self-modifying code using VizHub's writeFile
API.
MIT Licensed