More modular D3.js coding

Consider the code snippet let circles = svg.selectAll(“circle”) .data(data) .attr(“cx”, d => d.x) .attr(“cy”, d => d.y) .attr(“r”, 2); The three lines attr-cx, attr-cy, and attr-r operate internally using the following pseudo-code: foreach d in update-selection: d.cx = (expression) foreach d in update-selection: d.cy = (expression) foreach d in update-selection: d.r = (constant) Now suppose…

Details

Opening all MSProject file in a directory – Excel VBA

I’m trying to open all MS Project files in a specific folder to extract some information of each one and transfer to excel. Sub OpenProjectFiles() Dim myMpp As MSProject.Application Dim FileNameMpp As String, Folder As String Folder = “C:\Users\nikolasqueiroz\Desktop\VBA Test” Set myMpp = CreateObject(“Msproject.Application”) FileNameMpp = Dir(Folder & “\*.mpp”) Do myMpp.FileOpenEx Name:=FileNameMpp, ReadOnly:=True FileNameMpp =…

Details