score:4
Accepted answer
When you want to load a lot of files, you can use queue.js to do this more conveniently than repeated d3.csv
calls. However, checking how many files there are on the server isn't possible as such. The only way to do this is to have the server tell you, e.g. you load a file with a known name that gives you the names of the other files to load.
In your case, I would recommend merging the files you have into fewer though to simplify things. You may be able to merge the CSV files with common headers, or convert everything into JSON.
Source: stackoverflow.com
Related Query
- D3: Loading multiple csv data files in a folder
- Importing data from multiple csv files in D3
- Loading Multiple CSV files in Javascript
- D3.js join data from multiple csv files
- What is the best way to combine multiple csv files data input using d3.csv in d3.json ?
- Select data from a CSV before loading it with javascript (d3 library)
- d3 csv data loading
- D3.js Plotting Multiple Data Sets from Separate Files
- Loading multiple CSV in DC.js, adding a value, and concatenating the results into a single dataTable
- d3.js csv loading - simple data conversion
- D3 - Loading data from a second CSV
- Loading csv data with d3.csv in nvd3 multiBar Chart example (JSON format)
- d3.js loading csv files with ISO-8859-1 encoding
- Loading multiple JSON files in D3 in a loop: index is always the last one
- In d3.js, while importing csv files using a row conversion, how can I "slice" the data to only include a range of rows?
- D3.js: Load flat 1-dimensional array via d3.csv results in "TypeError: groupData is undefined" / Load multiple CSV files with D3.js
- Combine multiple csv files in javascript using filtering
- D3 : Loading multiple CSV files, and visualizing them using parallel coordinates
- Loading csv data and save results to a variable
- d3.js bar charts transitioning between multiple csv files
- Trouble loading CSV data in D3
- dc.js with crossfilter and d3, how to load multiple csv files at once, without knowing how many files the user will upload
- Load and parse multiple csv files with D3.js
- D3.js: Loading multiple networks from JSON files w/ Force Layout
- Importing multiple CSV files in Javascript
- D3.JS how to load 3 csv files and change data on line chart with button click event?
- adding multiple csv files in plotly template
- D3 getting data from multiple column CSV
- How to load multiple csv files and use them mixed with each other
- Project data from a single geojson when multiple geojson files are present
More Query from same tag
- How can I give this radial cluster straight lines instead of curved lines?
- Some options for making augmented local maps with d3
- DC.js bar chart with date axis
- Can't draw rectangular in a barchart
- How to get the vertically-oriented tree using d3.js
- Selecting duplicate id's from an SVG exported from Illustrator in d3.js
- How do I set the focal node in a D3.js Force Directed Graph?
- How to print a dataset from a url using d3.json() javascript?
- Add a selection box for NVD3 chart
- brush selection in scatterplot matrix example in d3.js is offset?
- Partial forces on nodes in D3.js
- D3.js - Data and Axis Not Synchronized During Pan
- D3 V4 Sunburst diagram layout arc calculation
- D3: Directional graph similar to tree layout but with back links
- c3js How does one format a timestamp from seconds since the epoch to a normal date?
- d3: line chart x-axis -- How to have tickValues with same padding?
- javascript, convert an array of objects to an array of arrays vertically
- Parse resource in d3.queue
- NVD3 Date values are not correct
- d3js Create legend for bar chart
- Show box on mousehover
- How is data attached in basic pack layout example?
- How to generate part of html code on server side (nodejs)?
- C3js Stacked Bar Chart with a hidden bar
- D3.js selection.data() optional parameters
- Add d3.js table to existing html
- D3 - Adding div to svg is appended but not seen AnguarJs
- Dimple.js scatter plot not drawing correctly in Firefox v. 38.0.5
- How to dynamically add circle with label?
- D3 scales mess up my bar chart