Interactive blocks

Interactive Blocks

Interactive blocks empower users to add interactivity and dynamic features to their datasets. Here’s how they enhance usability:

  • Embed Visualizations: Include live graphs, data visualizations, or interactive maps for your datasets.

  • Dynamic Tutorials: Integrate usage examples or step-by-step walkthroughs for AI models.

  • Code Execution: Enable embedded code snippets to demonstrate how to interact with the datasets or models.

Examples of Interactive Blocks

  1. Embedded Visualization:

    <iframe src="https://example.com/visualization" width="100%" height="500"></iframe>
  2. Dynamic Code Snippet:

    fetch('https://ipfs.cogni.host/ipfs/<CID>')
        .then(response => response.json())
        .then(data => console.log(data));

These features make your files not just storage items but actionable resources for collaboration and discovery.


Last updated