🌍 Public
Viewing a saved revision (read-only)
4d022bf6e1184f7893b5c5a3903e4103
Activity 6
This example loads a CSV dataset from a GitHub gist and displays the first ten rows as a JSON-formatted string in a black `<pre>` block. It uses D3 v5’s `csv` method to fetch and parse the data, then `json.stringify` to format the records for display. The SVG element in the HTML contains a base64-encoded JPEG image rendered as a pattern fill, while the Vue-based page styles the output with custom font and background colors. The total file size is calculated using `csvFormat` and `Math.ceil`.
AI-generated description