dimple.js example chart not loading - html

I am having trouble loading the example code from dimple.js for the following chart:
http://dimplejs.org/advanced_examples_viewer.html?id=advanced_storyboard_control
The only change I made is to save it as a .csv instead of .tsv.
The code (index.html) is saved as:
"C:\website\public\index.html"
and the datafile is saved as:
"C:\website\public\data\example_data.csv"
Any reasons this wouldn't load?
Note: dimple example data file can be retrieved from: http://dimplejs.org/data/example_data.tsv
My code in index.html is exactly as the code from the dimple example page
except for the reference to the data file in line 7, I use:
d3.csv("/data/example_data.csv", function (data) {

When referencing the .tsv file instead of .csv there is no problem.
StillNot certain why the file format mattered for this, however.

Related

Importing csv file in VS Code, with p5js library

I am using p5js library in VS Code and trying to import a csv file to put into an array.
I have tried using the preload function, but it is not loading. It works perfectly when using the online p5js editor. I am wondering if I have entered the link to the file incorrectly - Does it need to be structured differently in VS code? I have tried with and without the name of my folder included.
This is my code below:
function preload() {
table = loadTable('activity.csv', 'csv', 'header');
}

D3.js Can't Load Full CSV Dataset

I'm currently following the tutorial in Scott Murray's D3 book. His code for my specific problem is here: https://github.com/scotthmurray/d3-book/blob/master/chapter_07/09_time_scale.html
I copied his code into my index.html directly (for trouble shooting purposes) but it doesn't appear to be loading in my csv data correctly when I open my local host browser.
I'm trying to read in my "time_scale_data.csv" file which looks like below:
Below is I believe the relevant part of my D3 code but please see my link above for full code:
When I check my browser / console ... it looks like only the last row of data in my CSV file was loaded in instead of the whole dataset
According to the book, this is what the data should look like after I add dataset to the console:

Is there a way to read a image file path in an excel column and convert this file path into a picture in html?

Here is what I am trying to do:
I have a excel sheet whithin one of the columns has several file paths adressing different pictures stored in the same folder as the excel file. What I would like to do is read each file path and show each picture in a table on my html file. However, all my attempts failed and the only thing I got is a string that shows the filepath.
Is there any hint of a way to do it?
Thanks in advance

How to rename a file, using exiftool, to a new name contained in CSV import file

Using exiftool, I have exported image file data to a CSV file. I have manipulated that data and now I want to import the new values to the original files. Everything works as I would expect, except that I want also to rename images to new file names contained in the CSV file (those new names were generated manually as well as by programs; they could not be generated by a rule). I know how to rename files using data that is in the source image file (e.g. I've found advice on how to incorporate the camera model name into the file name), but I don't know how to rename the source image file to the name that I have specified in the CSV file.
It would be simple enough to do this renaming separately from exiftool, but I'm curious to know whether exiftool can do it. It seems to be able to do pretty much anything else.
According to this thread, Phil Harvey (creator of exiftool) says it isn't possible to rename files from a CSV file. It's "a feature to prevent people from messing up their files unintentionally."

What clipboard format does InDesign use?

I'm trying to create data to paste into InDesign and I'm using the following code to copy my data to the clipboard:
Clipboard.generalClipboard.setData("dms", xml.toXMLString());
But when I paste it into InDesign, it shows the code rather than the formatted content. I don't know if the ClipboardFormat is correct and I don't know if my data is correct (it is the whole IDMS XML document). Does anyone have a working example or tell me what's wrong?
Here is what I get when I check the formats property of the Clipboard.generalClipboard.formats array. It also contains the format value:
air:file list:null
air:url:null
It is copying a file or file reference to the clipboard.