Skip to main content
100%

Activity 6

✓ Published0🌍 Public
Vvineelaramulapalli32
Last edited Jul 17, 2023
Created on Jul 17, 2023
Forked from Hello VizHub

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
MIT Licensed

Similar vizzes