Skip to main content
  • Home
  • Development
  • Documentation
  • Donate
  • Operational login
  • Browse the archive

swh logo
SoftwareHeritage
Software
Heritage
Archive
Features
  • Search

  • Downloads

  • Save code now

  • Add forge now

  • Help

https://github.com/lauragarrison87/metaphorTool
22 August 2024, 06:48:53 UTC
  • Code
  • Branches (2)
  • Releases (0)
  • Visits
    • Branches
    • Releases
    • HEAD
    • refs/heads/master
    • refs/heads/transitionFix
    No releases to show
  • 4566fa3
  • /
  • exploratoryTool2
  • /
  • pie.js
Raw File Download Save again
Take a new snapshot of a software origin

If the archived software origin currently browsed is not synchronized with its upstream version (for instance when new commits have been issued), you can explicitly request Software Heritage to take a new snapshot of it.

Use the form below to proceed. Once a request has been submitted and accepted, it will be processed as soon as possible. You can then check its processing state by visiting this dedicated page.
swh spinner

Processing "take a new snapshot" request ...

To reference or cite the objects present in the Software Heritage archive, permalinks based on SoftWare Hash IDentifiers (SWHIDs) must be used.
Select below a type of object currently browsed in order to display its associated SWHID and permalink.

  • content
  • directory
  • revision
  • snapshot
origin badgecontent badge
swh:1:cnt:300c899d897db9fe0a133d10e1d513caf4cd5b11
origin badgedirectory badge
swh:1:dir:217c09755d9129e42a7914f0c8dd5b41f9d105d3
origin badgerevision badge
swh:1:rev:5d1c1e76babcbd97bfa68477e7edcf04f163a337
origin badgesnapshot badge
swh:1:snp:9837fefdf0840d8759ea320718c6c595b228ae53

This interface enables to generate software citations, provided that the root directory of browsed objects contains a citation.cff or codemeta.json file.
Select below a type of object currently browsed in order to generate citations for them.

  • content
  • directory
  • revision
  • snapshot
(requires biblatex-software package)
Generating citation ...
(requires biblatex-software package)
Generating citation ...
(requires biblatex-software package)
Generating citation ...
(requires biblatex-software package)
Generating citation ...
Tip revision: 5d1c1e76babcbd97bfa68477e7edcf04f163a337 authored by Laura Garrison on 12 June 2024, 08:13:53 UTC
fix data load animations
Tip revision: 5d1c1e7
pie.js
async function drawPieChart(data) {
    // 1. Access data 
    const dataset= await d3.csv(data)
    console.table(dataset[1])   //test if data are importing 
    
    //const metaphorAccessor = d => d.icon


    // 2. Set dimensions 



    // 3. Draw canvas 
   


    // 4. Create scales 


    // 5. Draw data 
    


    // 6. Draw peripherals


    // 7. Interactions

    
}

drawPieChart()


// TO ORGANIZE 

// const setPiechart = (values) => {
//     if (!values) return;

//     const piechart_column = document.querySelector("#piechart");

//     document.querySelectorAll('#piechart svg').forEach(e => e.remove());

//     let chart = PieChart(values, {
//         name: d => d.type,
//         value: d => d.percentage,
//         width: piechart_column.clientWidth,
//         height: piechart_column.clientHeight,
//         names: ['Structural', 'Ontological', 'Orientational', 'Imagistic']
//     });
    
//     piechart_column.insertBefore(chart, document.querySelector('#piechart .row:nth-child(2)'));
// };

// setPiechart(piechartValues);

back to top

Software Heritage — Copyright (C) 2015–2026, The Software Heritage developers. License: GNU AGPLv3+.
The source code of Software Heritage itself is available on our development forge.
The source code files archived by Software Heritage are available under their own copyright and licenses.
Terms of use: Archive access, API— Content policy— Contact— JavaScript license information— Web API