{"version":"1.0","type":"rich","title":"Importing D3 Function Using ES6","description":"A red SVG canvas demonstrates ES6 module imports in D3 v6, loading the library from UNPKG and styling the backdrop with `d3.select` and `style`. The example highlights how to use `import` statements for D3 functions while rendering a fixed 960×500 viewport, with `index.html` linking the script and bundled JavaScript.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/31704583627045d59d1d2fadd20fe3e6?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}