Skip to main content
100%

fresh block

✓ Published0🌍 Public
GGerardoFurtado
Last edited Apr 3, 2018
Created on Apr 3, 2018

This example demonstrates how to load and inspect two separate CSV files using Promises in D3 v5. The code uses `d3.csv` to fetch `file1.csv` and `file2.csv`, then combines them with `Promise.all` to log the parsed data as JSON objects to the browser console. It explicitly shows the structure of each row, revealing fields like `foo`, `bar`, and `baz` with numeric values. The page itself displays only a static heading, while all observable behavior occurs in the console, making the data-loading pipeline the core focus.

AI-generated description

Built with blockbuilder.org

forked from <a href='http://bl.ocks.org/GerardoFurtado/'>GerardoFurtado</a>'s block: <a href='http://bl.ocks.org/GerardoFurtado/a1e47454526468ca3b2f62aa7212e2df'>fresh block</a>

forked from <a href='http://bl.ocks.org/GerardoFurtado/'>GerardoFurtado</a>'s block: <a href='http://bl.ocks.org/GerardoFurtado/9f8757091061f983bad478ec68f54279'>fresh block</a>

forked from <a href='http://bl.ocks.org/GerardoFurtado/'>GerardoFurtado</a>'s block: <a href='http://bl.ocks.org/GerardoFurtado/af5ceae28d5d166a77ffd136910b773f'>fresh block</a>

mit Licensed

Similar vizzes